qcacmn: Fix compilation issues caused by log format specifiers
Use proper format specifiers in dp_print_tso_stats, also dp_tx_dump_tx_desc type cast variable as per format specified to fix compilation issues. Change-Id: Ic901144b15fb3a163eed6ad29400d0e3e668b4c6 CRs-Fixed: 3849167
This commit is contained in:

committato da
Ravindra Konda

parent
eb34a521c0
commit
2a9c2537fc
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -8560,7 +8560,7 @@ void dp_print_tso_stats(struct dp_soc *soc,
|
||||
pdev = soc->pdev_list[loop_pdev];
|
||||
DP_PRINT_STATS("TSO Statistics\n");
|
||||
DP_PRINT_STATS(
|
||||
"From stack: %d | Successful completions: %d | TSO Packets: %d | TSO Completions: %d",
|
||||
"From stack: %llu | Successful completions: %llu | TSO Packets: %llu | TSO Completions: %d",
|
||||
pdev->stats.tx_i.rcvd.num,
|
||||
pdev->stats.tx.tx_success.num,
|
||||
pdev->stats.tso_stats.num_tso_pkts.num,
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -6538,7 +6538,7 @@ void dp_tx_dump_tx_desc(struct dp_tx_desc_s *tx_desc)
|
||||
dp_tx_comp_warn("tx_desc->flags: 0x%x", tx_desc->flags);
|
||||
dp_tx_comp_warn("tx_desc->id: %u", tx_desc->id);
|
||||
dp_tx_comp_warn("tx_desc->dma_addr: 0x%x",
|
||||
tx_desc->dma_addr);
|
||||
(unsigned int)tx_desc->dma_addr);
|
||||
dp_tx_comp_warn("tx_desc->vdev_id: %u",
|
||||
tx_desc->vdev_id);
|
||||
dp_tx_comp_warn("tx_desc->tx_status: %u",
|
||||
|
Fai riferimento in un nuovo problema
Block a user