wlan: wdi: Fix additional logging format/argument mismatches
Previously change "wlan: wdi: fix logging format/argument mismatch"
fixed some instances of mismatches between format and argument in
invocations of logging APIs in the wdi code. Recent analysis has
uncovered additional mismatches, so fix them.
CRs-fixed: 570511
Change-Id: Iaa6ed14216091e26eb60764efaa3b878f2b95a7a
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index edc182f..aa56076 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -14276,10 +14276,11 @@
sizeof(keepAliveReq));
WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO,
- "Process keep alive req %d",sizeof(keepAliveReq));
+ "Process keep alive req %zu", sizeof(keepAliveReq));
WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_INFO,
- "Process keep alive req time period %d",keepAliveReq.timePeriod);
+ "Process keep alive req time period %d",
+ keepAliveReq.timePeriod);
pWDICtx->wdiReqStatusCB = pwdiKeepAliveParams->wdiReqStatusCB;
pWDICtx->pReqStatusUserData = pwdiKeepAliveParams->pUserData;
@@ -15096,7 +15097,7 @@
{
// not enough data was received
WPAL_TRACE( eWLAN_MODULE_DAL_CTRL, eWLAN_PAL_TRACE_LEVEL_FATAL,
- "Invalid response length in Start Resp Expect %x Rcvd %x",
+ "Invalid response length in Start Resp Expect %zx Rcvd %x",
sizeof(tHalMacStartRspParams), pEventData->uEventDataSize);
WDI_ASSERT(0);
return WDI_STATUS_E_FAILURE;