Print this page
7127  remove -Wno-missing-braces from Makefile.uts

@@ -28,11 +28,11 @@
     IN  lm_iscsi_state_t *iscsi,
     IN  lm_iscsi_slow_path_request_t *sp_req,
     OUT u8_t *command,
     OUT u64_t *data)
 {
-    struct protocol_common_spe     spe       = {0};
+    struct protocol_common_spe     spe       = {{0}};
 
     DbgMessage(pdev, VERBOSEl5sp, "##lm__post_initiate_offload_request\n");
     DbgBreakIf(iscsi->hdr.status != STATE_STATUS_NORMAL);
 
     *command = ISCSI_RAMROD_CMD_ID_UPDATE_CONN;

@@ -223,11 +223,11 @@
     lm_iscsi_state_t             * iscsi, 
     lm_iscsi_slow_path_request_t * lm_req, 
     void                         * req_input_data)
 {
     void *update_kwqe_virt;
-    struct protocol_common_spe spe = {0};
+    struct protocol_common_spe spe = {{0}};
 
     switch(lm_req->type) {  
     case SP_REQUEST_SC_INIT:
         break;
     case SP_REQUEST_SC_UPDATE: