Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -37,12 +37,12 @@
/*
* Local variables
*/
-static struct ether_addr ql_ether_broadcast_addr =
- {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
+static struct ether_addr ql_ether_broadcast_addr = {
+ {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}};
static char version[] = "GLDv3 QLogic 81XX " VERSIONSTR;
/*
* Local function prototypes
*/
@@ -8028,11 +8028,11 @@
version, /* name of module */
&ql_ops /* driver dev_ops */
};
static struct modlinkage modlinkage = {
- MODREV_1, &modldrv, NULL
+ MODREV_1, { &modldrv, NULL }
};
/*
* Loadable Module Routines
*/