Skip to content

Commit 436b265

Browse files
plbossartKalle Valo
authored andcommitted
iwlwifi: fix ARCH=i386 compilation warnings
An unsigned long variable should rely on '%lu' format strings, not '%zd' Fixes: a1a6a4c ("iwlwifi: pnvm: implement reading PNVM from UEFI") Signed-off-by: Pierre-Louis Bossart <[email protected]> Acked-by: Luca Coelho <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent a22549f commit 436b265

File tree

1 file changed

+2
-2
lines changed
  • drivers/net/wireless/intel/iwlwifi/fw

1 file changed

+2
-2
lines changed

drivers/net/wireless/intel/iwlwifi/fw/pnvm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,12 @@ static int iwl_pnvm_get_from_efi(struct iwl_trans *trans,
271271
err = efivar_entry_get(pnvm_efivar, NULL, &package_size, package);
272272
if (err) {
273273
IWL_DEBUG_FW(trans,
274-
"PNVM UEFI variable not found %d (len %zd)\n",
274+
"PNVM UEFI variable not found %d (len %lu)\n",
275275
err, package_size);
276276
goto out;
277277
}
278278

279-
IWL_DEBUG_FW(trans, "Read PNVM fro UEFI with size %zd\n", package_size);
279+
IWL_DEBUG_FW(trans, "Read PNVM fro UEFI with size %lu\n", package_size);
280280

281281
*data = kmemdup(package->data, *len, GFP_KERNEL);
282282
if (!*data)

0 commit comments

Comments
 (0)