From 17b5fed005e7dfda4b59716bfcb17be729a48118 Mon Sep 17 00:00:00 2001 From: Guisen Yang Date: Wed, 6 Nov 2019 14:58:35 +0800 Subject: [PATCH] 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 --- dp/wifi3.0/dp_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dp/wifi3.0/dp_stats.c b/dp/wifi3.0/dp_stats.c index ec62d636ee..65f2878948 100644 --- a/dp/wifi3.0/dp_stats.c +++ b/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,