]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
EDAC, skx: Prepend hex formatting with '0x'
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Fri, 16 Nov 2018 07:34:20 +0000 (15:34 +0800)
committerBorislav Petkov <bp@suse.de>
Fri, 16 Nov 2018 10:17:19 +0000 (11:17 +0100)
commite235dd43d8b0f0e036fc528504d7a129685fb572
tree9dabcb7de0b67a4c54dfea75a55f17f5c6354849
parenta6a386152a89f650ad93ebdf4ab160914e75ca20
EDAC, skx: Prepend hex formatting with '0x'

Some debug/error strings in hex formatting do not have the '0x' prefix.

Prepend hex formatting with '0x' for them, but with one exception:
"Couldn't enable %04x:%04x", instead of putting '0x' in this line,
add the word 'device'. We commonly use 8086:1234 without the leading
'0x' (e.g. as '-d' argument to lspci(8) and setpci(8) commands).

Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: Mauro Carvalho Chehab <mchehab@kernel.org>
CC: Tony Luck <tony.luck@intel.com>
CC: arozansk@redhat.com
CC: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1542353660-13458-1-git-send-email-qiuxu.zhuo@intel.com
drivers/edac/skx_edac.c