diff options
author | Qiuxu Zhuo <[email protected]> | 2018-11-16 15:34:20 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2018-11-16 11:17:19 +0100 |
commit | e235dd43d8b0f0e036fc528504d7a129685fb572 (patch) | |
tree | 9dabcb7de0b67a4c54dfea75a55f17f5c6354849 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a6a386152a89f650ad93ebdf4ab160914e75ca20 (diff) |
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 <[email protected]>
Signed-off-by: Qiuxu Zhuo <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
CC: Mauro Carvalho Chehab <[email protected]>
CC: Tony Luck <[email protected]>
CC: [email protected]
CC: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions