All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iwlwifi: format '%zd' expects argument of type 'size_t'
@ 2021-06-29  1:48 Cai Huoqing
  0 siblings, 0 replies; only message in thread
From: Cai Huoqing @ 2021-06-29  1:48 UTC (permalink / raw)
  To: kvalo, davem, kuba; +Cc: linux-wireless, netdev, linux-kernel, Cai Huoqing

fix warning: format '%zd' expects argument of type 'size_t'

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
 drivers/net/wireless/intel/iwlwifi/fw/uefi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/fw/uefi.c b/drivers/net/wireless/intel/iwlwifi/fw/uefi.c
index a7c79d814aa4..e755919c1dd0 100644
--- a/drivers/net/wireless/intel/iwlwifi/fw/uefi.c
+++ b/drivers/net/wireless/intel/iwlwifi/fw/uefi.c
@@ -20,7 +20,7 @@ void *iwl_uefi_get_pnvm(struct iwl_trans *trans, size_t *len)
 {
        struct efivar_entry *pnvm_efivar;
        void *data;
-       unsigned long package_size;
+       size_t package_size;
        int err;
 
        *len = 0;
-- 
2.22.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-29  1:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29  1:48 [PATCH] iwlwifi: format '%zd' expects argument of type 'size_t' Cai Huoqing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.