[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210629014836.279-1-caihuoqing@baidu.com>
Date: Tue, 29 Jun 2021 09:48:36 +0800
From: Cai Huoqing <caihuoqing@...du.com>
To: <kvalo@...eaurora.org>, <davem@...emloft.net>, <kuba@...nel.org>
CC: <linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Cai Huoqing <caihuoqing@...du.com>
Subject: [PATCH] iwlwifi: format '%zd' expects argument of type 'size_t'
fix warning: format '%zd' expects argument of type 'size_t'
Signed-off-by: Cai Huoqing <caihuoqing@...du.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
Powered by blists - more mailing lists