qcacmn: Remove Wno-format flag while compilation of driver

To show formating errors at compile time, removing Wno-format flag
while compilation of driver and also handling associated errors

Change-Id: If990cc9110fe3042dd486e31d9b44fce79861e77
Tento commit je obsažen v:
Neha Bisht
2020-08-18 20:46:20 +05:30
odevzdal snandini
rodič 5eb6324b3e
revize 2b49081472

Zobrazit soubor

@@ -410,7 +410,7 @@ ssize_t debug_filtered_wmi_cmds_write(struct file *file,
}
if (wmi_add_to_record_list(wmi_handle, k, WMI_CMD)) {
WMI_LOGE("Add cmd %d to WMI_CMD list failed");
WMI_LOGE("Add cmd %d to WMI_CMD list failed", k);
return 0;
}
@@ -447,7 +447,7 @@ ssize_t debug_filtered_wmi_evts_write(struct file *file,
}
if (wmi_add_to_record_list(wmi_handle, k, WMI_EVT)) {
WMI_LOGE("Add cmd %d to WMI_EVT list failed");
WMI_LOGE("Add cmd %d to WMI_EVT list failed", k);
return 0;
}