qcacmn: Fix compilation warnings caused by dp tx debug print

Fix compilation warnings caused by dp tx debug print due to an
incorrect specifier being used for the mentioned variable.

"%d" was used instead of "%lu" for printing the output of the
sizeof operator.

Change-Id: I051a3acbb95148fa2d9fbd6db5b4ec7a6144dd99
CRs-Fixed: 2400276
This commit is contained in:
Aditya Sathish
2019-02-18 09:51:35 +05:30
committed by nshrivas
parent c4080ec27b
commit 2f3f538531

View File

@@ -2611,7 +2611,7 @@ void dp_tx_comp_fill_tx_completion_stats(struct dp_tx_desc_s *tx_desc,
}
if (qdf_nbuf_push_head(netbuf, sizeof(struct meta_hdr_s)) == NULL) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
"netbuf %pK offset %d", netbuf,
"netbuf %pK offset %lu", netbuf,
sizeof(struct meta_hdr_s));
return;
}