Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
@@ -261,11 +261,11 @@
&emlxs_dma_attr_fcip_rsp, /* fca dma fcip rsp attributes */
&emlxs_dma_attr_1sg, /* fca dma fcsm cmd attributes */
&emlxs_dma_attr, /* fca dma fcsm rsp attributes */
&emlxs_data_acc_attr, /* fca access atributes */
0, /* fca_num_npivports */
- {0, 0, 0, 0, 0, 0, 0, 0}, /* Physical port WWPN */
+ {{0, 0, 0, 0, 0, 0, 0, 0}}, /* Physical port WWPN */
emlxs_fca_bind_port,
emlxs_fca_unbind_port,
emlxs_fca_pkt_init,
emlxs_fca_pkt_uninit,
emlxs_fca_transport,
@@ -480,12 +480,12 @@
/*
* Driver module linkage structure
*/
static struct modlinkage emlxs_modlinkage = {
MODREV_1, /* ml_rev - must be MODREV_1 */
- &emlxs_modldrv, /* ml_linkage */
- NULL /* end of driver linkage */
+ { &emlxs_modldrv, /* ml_linkage */
+ NULL }
};
/* We only need to add entries for non-default return codes. */
/* Entries do not need to be in order. */