mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
iwlwifi: print PNVM complete notification status in hexadecimal
This value is not a simple incrementing integer, it contains some flags as well, so reading it in hexadecimal is easier. Change the print to do it in hex instead of decimal. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20210802170640.5e35f930d0ed.I5f94575a835f060bdc8ed3477871256f8a2cbaaa@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
@@ -24,7 +24,7 @@ static bool iwl_pnvm_complete_fn(struct iwl_notif_wait_data *notif_wait,
|
||||
struct iwl_pnvm_init_complete_ntfy *pnvm_ntf = (void *)pkt->data;
|
||||
|
||||
IWL_DEBUG_FW(trans,
|
||||
"PNVM complete notification received with status %d\n",
|
||||
"PNVM complete notification received with status 0x%0x\n",
|
||||
le32_to_cpu(pnvm_ntf->status));
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user