iwlwifi: pnvm: print out the version properly

The version really is a git sha1, not a hex number, so we
need to print it out with leading zeroes (8 digits) and
without 0x prefix.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20211017165728.83422182774a.I40703fd517534133eb67d644ee16532ba8a67e35@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
Johannes Berg
2021-10-17 16:59:54 +03:00
committed by Luca Coelho
parent 72c43f7d65
commit 2c5769e358

View File

@@ -162,7 +162,7 @@ done:
goto out;
}
IWL_INFO(trans, "loaded PNVM version 0x%0x\n", sha1);
IWL_INFO(trans, "loaded PNVM version %08x\n", sha1);
ret = iwl_trans_set_pnvm(trans, pnvm_data, size);
out: