On Mon, Jul 03, 2023 at 05:58:38PM +0300, Andy Shevchenko wrote: > 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. FWIW, currently we luckily have only one ABI case drivers/power/supply/bq24190_charger.c:466 which luckily uses unsigned value for that specifier. The rest is debug and error messages along with tracepoints. The tracepoints might have an undesired, but not critical, deviation. Nevertheless, promoting sign for hex values seems to me the wrong suggestion. -- With Best Regards, Andy Shevchenko