Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -341,11 +341,11 @@
"Sun HME 10/100 Mb Ethernet",
&hme_dev_ops, /* driver ops */
};
static struct modlinkage modlinkage = {
- MODREV_1, &modldrv, NULL
+ MODREV_1, { &modldrv, NULL }
};
/* <<<<<<<<<<<<<<<<<<<<<< Register operations >>>>>>>>>>>>>>>>>>>>> */
#define GET_MIFREG(reg) \
@@ -699,11 +699,11 @@
/*
* Ethernet broadcast address definition.
*/
static struct ether_addr etherbroadcastaddr = {
- 0xff, 0xff, 0xff, 0xff, 0xff, 0xff
+ { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }
};
/*
* MIB II broadcast/multicast packets
*/