Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -432,11 +432,11 @@
FCIP_NAME, /* Name of module */
&fcip_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&modldrv, NULL
+ MODREV_1, { (void *)&modldrv, NULL }
};
/*
* Now for some global statics
@@ -541,19 +541,19 @@
/*
* FCIP broadcast address definition.
*/
static struct ether_addr fcipnhbroadcastaddr = {
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
+ { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
};
/*
* RFC2625 requires the broadcast ARP address in the ARP data payload to
* be set to 0x00 00 00 00 00 00 for ARP broadcast packets
*/
static struct ether_addr fcip_arpbroadcast_addr = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+ { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
};
#define ether_bcopy(src, dest) bcopy((src), (dest), ETHERADDRL);