Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -6367,11 +6367,11 @@
static void
ql_get_target_id(ql_adapter_state_t *ha, EXT_IOCTL *cmd, int mode)
{
uint32_t rval;
uint16_t qlnt;
- EXT_DEST_ADDR extdestaddr = {0};
+ EXT_DEST_ADDR extdestaddr = {{{0}}};
uint8_t *name;
uint8_t wwpn[EXT_DEF_WWN_NAME_SIZE];
ql_tgt_t *tq;
QL_PRINT_9(CE_CONT, "(%d): started\n", ha->instance);
@@ -6827,12 +6827,12 @@
return (0);
}
if (*nextpos == ha->flash_fw_addr << 2) {
- pci_header_t fwh = {0};
- pci_data_t fwd = {0};
+ pci_header_t fwh = {{0}};
+ pci_data_t fwd = {{0}};
uint8_t *buf, *bufp;
/*
* Build a pci header for the firmware module
*/
@@ -7478,11 +7478,11 @@
static void
ql_port_param(ql_adapter_state_t *ha, EXT_IOCTL *cmd, int mode)
{
uint8_t *name;
ql_tgt_t *tq;
- EXT_PORT_PARAM port_param = {0};
+ EXT_PORT_PARAM port_param = {{{{0}}}};
uint32_t rval = QL_SUCCESS;
uint32_t idma_rate;
QL_PRINT_9(CE_CONT, "(%d): started\n", ha->instance);