qcacmn: Fix return type for scheduler_msg callbacks

This fixes a CFI failure in callback assignment

Change-Id: I760b41b81c006187efb162d410390e1c11878b82
CRs-Fixed: 2643320
This commit is contained in:
Bapiraju Alla
2020-03-25 10:31:07 +05:30
committed by nshrivas
parent dfbe7d4fd0
commit acf898a145
5 changed files with 24 additions and 19 deletions

View File

@@ -2153,7 +2153,7 @@ static void wmi_discard_fw_event(struct scheduler_msg *msg)
msg->type = 0;
}
static int wmi_process_fw_event_handler(struct scheduler_msg *msg)
static QDF_STATUS wmi_process_fw_event_handler(struct scheduler_msg *msg)
{
struct wmi_process_fw_event_params *params =
(struct wmi_process_fw_event_params *)msg->bodyptr;
@@ -2170,7 +2170,7 @@ static int wmi_process_fw_event_handler(struct scheduler_msg *msg)
qdf_mem_free(msg->bodyptr);
return 0;
return QDF_STATUS_SUCCESS;
}
/**