1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/fw
Randy Dunlap e4457a45b4 iwlwifi: fix printk format warnings in uefi.c
The kernel test robot reports printk format warnings in uefi.c, so
correct them.

../drivers/net/wireless/intel/iwlwifi/fw/uefi.c: In function 'iwl_uefi_get_pnvm':
../drivers/net/wireless/intel/iwlwifi/fw/uefi.c:52:30: warning: format '%zd' expects argument of type 'signed size_t', but argument 7 has type 'long unsigned int' [-Wformat=]
   52 |                              "PNVM UEFI variable not found %d (len %zd)\n",
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   53 |                              err, package_size);
      |                                   ~~~~~~~~~~~~
      |                                   |
      |                                   long unsigned int
../drivers/net/wireless/intel/iwlwifi/fw/uefi.c:59:29: warning: format '%zd' expects argument of type 'signed size_t', but argument 6 has type 'long unsigned int' [-Wformat=]
   59 |         IWL_DEBUG_FW(trans, "Read PNVM from UEFI with size %zd\n", package_size);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~~~
      |                                                                    |
      |                                                                    long unsigned int

Fixes: 84c3c9952a ("iwlwifi: move UEFI code to a separate file")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Luca Coelho <luciano.coelho@intel.com>
Cc: linux-wireless@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210821020901.25901-1-rdunlap@infradead.org
2021-09-06 13:03:06 +03:00
..
api iwlwifi: mvm: introduce iwl_stored_beacon_notif_v3 2021-08-26 23:38:17 +03:00
acpi.c iwlwifi: acpi: fill in SAR tables with defaults 2021-08-26 23:37:05 +03:00
acpi.h iwlwifi: acpi: support reading and storing WGDS revision 2 2021-08-26 23:36:10 +03:00
dbg.c iwlwifi: yoyo: support for new DBGI_SRAM region 2021-08-26 23:37:07 +03:00
dbg.h iwlwifi: prepare for synchronous error dumps 2021-08-26 23:32:21 +03:00
debugfs.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
debugfs.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
dump.c iwlwifi: fw: dump TCM error table if present 2021-06-22 16:57:57 +03:00
error-dump.h iwlwifi: fw: fix debug dump data declarations 2021-08-26 23:37:06 +03:00
file.h iwlwifi: mvm: Add support for hidden network scan on 6GHz band 2021-08-26 23:32:22 +03:00
img.c iwlwifi: fw: add default value for iwl_fw_lookup_cmd_ver 2020-10-01 21:59:37 +03:00
img.h iwlwifi: mvm: umac error table mismatch 2021-04-14 12:07:19 +03:00
init.c iwlwifi: move iwl_configure_rxq to be used by other op_modes 2021-04-14 12:07:17 +03:00
notif-wait.c iwlwifi: fw: fix notification wait locking 2021-04-06 13:25:59 +03:00
notif-wait.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
paging.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
pnvm.c iwlwifi: pnvm: Fix a memory leak in 'iwl_pnvm_get_from_fs()' 2021-09-05 09:11:10 +03:00
pnvm.h iwlwifi: move get pnvm file name to a separate function 2021-08-26 23:38:16 +03:00
runtime.h iwlwifi: move iwl_configure_rxq to be used by other op_modes 2021-04-14 12:07:17 +03:00
smem.c iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
uefi.c iwlwifi: fix printk format warnings in uefi.c 2021-09-06 13:03:06 +03:00
uefi.h iwlwifi: support loading the reduced power table from UEFI 2021-06-22 16:57:57 +03:00