diff options
author | Qiuxu Zhuo <qiuxu.zhuo@intel.com> | 2018-11-16 10:34:20 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2018-11-16 13:17:19 +0300 |
commit | e235dd43d8b0f0e036fc528504d7a129685fb572 (patch) | |
tree | 9dabcb7de0b67a4c54dfea75a55f17f5c6354849 /security/selinux/hooks.c | |
parent | a6a386152a89f650ad93ebdf4ab160914e75ca20 (diff) | |
download | linux-e235dd43d8b0f0e036fc528504d7a129685fb572.tar.xz |
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
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions