Browse Source

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
Aditya Sathish 6 years ago
parent
commit
2f3f538531
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dp/wifi3.0/dp_tx.c

+ 1 - 1
dp/wifi3.0/dp_tx.c

@@ -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;
 	}