Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -1075,11 +1075,11 @@
static void
bfe_set_rx_mode(bfe_t *bfe)
{
uint32_t val;
int i;
- ether_addr_t mac[ETHERADDRL] = {0, 0, 0, 0, 0, 0};
+ ether_addr_t mac[ETHERADDRL] = {{0, 0, 0, 0, 0, 0}};
/*
* We don't touch RX filter if we were asked to suspend. It's fine
* if chip is not active (no interface is plumbed on us).
*/
@@ -3115,11 +3115,11 @@
bfe_ident,
&bfe_dev_ops
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&bfe_modldrv, NULL
+ MODREV_1, { (void *)&bfe_modldrv, NULL }
};
int
_info(struct modinfo *modinfop)
{