aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-07-03 17:58:38 +0300
committerPetr Mladek <[email protected]>2023-07-18 13:43:21 +0200
commit46d57a7a8e331ad402783a77d246c4196ba21863 (patch)
treec5095d6ec8c06ccea9bb785af41006c51f72f60f /lib/memory-notifier-error-inject.c
parent7ec85f3e089aa423a69559bf4555b6218b5a2ef7 (diff)
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions