Re: [PATCH] mm/oom_kill: Remove unnecessary integer promotion in format string
From: Michal Hocko
Date: Mon Dec 29 2025 - 03:27:50 EST
On Sun 28-12-25 15:44:55, Dipendra Khadka wrote:
> The 'h' length modifier in '%hd' is unnecessary as short integers are
> promoted to int in variadic functions. Use '%d' instead.
>
> Signed-off-by: Dipendra Khadka <kdipendra88@xxxxxxxxx>
Why should we change the currently correct code in the first place?
What is an added value?
--
Michal Hocko
SUSE Labs