qcacld-3.0: Fix function type for sme_ser_cmd_callback

To address kernel control flow integrity (CFI) issues related to type
mismatch, correct the input argument type for sme_ser_cmd_callback().

Change-Id: I3f0b5df70163eca9282d2b1c2a48203448e4f0a6
CRs-Fixed: 2402977
This commit is contained in:
Rajeev Kumar Sirasanagandla
2019-01-29 14:05:44 -08:00
committed by nshrivas
부모 219f118fbf
커밋 4477e7e4ae
5개의 변경된 파일8개의 추가작업 그리고 14개의 파일을 삭제

파일 보기

@@ -204,11 +204,10 @@ static void nan_req_activated(void *in_req, uint32_t cmdtype)
tx_ops->nan_datapath_req_tx(in_req, req_type);
}
static QDF_STATUS nan_serialized_cb(void *cmd,
static QDF_STATUS nan_serialized_cb(struct wlan_serialization_command *ser_cmd,
enum wlan_serialization_cb_reason reason)
{
void *req;
struct wlan_serialization_command *ser_cmd = cmd;
if (!ser_cmd || !ser_cmd->umac_cmd) {
nan_alert("cmd or umac_cmd is null");