Explorar o código

qcacmn: Change the print format for a size_t variable

A build error happens if "%lu" is applied to a size_t variable.
Change the format to "%zu" in dp_print_tso_stats().

Change-Id: Ib9e7ff5de91a8d5de091f8adae003f0ce0258acb
CRs-Fixed: 2560138
Guisen Yang %!s(int64=5) %!d(string=hai) anos
pai
achega
17b5fed005
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dp/wifi3.0/dp_stats.c

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

@@ -5782,7 +5782,7 @@ void dp_print_tso_stats(struct dp_soc *soc,
 		for (id = 0; id < CDP_MAX_TSO_PACKETS; id++) {
 			/* TSO LEVEL 1 - PACKET INFO */
 			DP_PRINT_STATS(
-				  "Packet_Id:[%u]: Packet Length %lu | No. of segments: %u",
+				  "Packet_Id:[%u]: Packet Length %zu | No. of segments: %u",
 				  id,
 				  pdev->stats.tso_stats.tso_info
 				  .tso_packet_info[id].tso_packet_len,