aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-07-03 14:58:38 +0000
committerPetr Mladek <[email protected]>2023-07-18 11:43:21 +0000
commit46d57a7a8e331ad402783a77d246c4196ba21863 (patch)
treec5095d6ec8c06ccea9bb785af41006c51f72f60f /tools/perf/scripts/python/libxed.py
parentMerge tag 'printk-for-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff)
downloadkernel-46d57a7a8e331ad402783a77d246c4196ba21863.tar.gz
kernel-46d57a7a8e331ad402783a77d246c4196ba21863.zip
docs: printk-formats: Fix hex printing of signed values
The commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") obviously missed the point of sign promotion for the signed values lesser than int. In such case %x prints not the same as %h[h]x. Restore back those specifiers for the signed hex cases. Fixes: cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions