mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
ionic: print firmware heartbeat as unsigned
The firmware heartbeat value is an unsigned number, and seeing
a negative number when it gets big is a little disconcerting.
Example:
ionic 0000:24:00.0: FW heartbeat stalled at -1342169688
Print using the unsigned flag.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Joe Damato <joe@dama.to>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
6d4e01d29d
commit
696158ff4d
@@ -424,9 +424,9 @@ do_check_time:
|
||||
if (fw_hb_ready != idev->fw_hb_ready) {
|
||||
idev->fw_hb_ready = fw_hb_ready;
|
||||
if (!fw_hb_ready)
|
||||
dev_info(ionic->dev, "FW heartbeat stalled at %d\n", fw_hb);
|
||||
dev_info(ionic->dev, "FW heartbeat stalled at %u\n", fw_hb);
|
||||
else
|
||||
dev_info(ionic->dev, "FW heartbeat restored at %d\n", fw_hb);
|
||||
dev_info(ionic->dev, "FW heartbeat restored at %u\n", fw_hb);
|
||||
}
|
||||
|
||||
if (!fw_hb_ready)
|
||||
|
||||
Reference in New Issue
Block a user