[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aVI7Zsr9S1WqKxz8@tiehlicka>
Date: Mon, 29 Dec 2025 09:27:18 +0100
From: Michal Hocko <mhocko@...e.com>
To: Dipendra Khadka <kdipendra88@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
David Rientjes <rientjes@...gle.com>,
Shakeel Butt <shakeel.butt@...ux.dev>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/oom_kill: Remove unnecessary integer promotion in
format string
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@...il.com>
Why should we change the currently correct code in the first place?
What is an added value?
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists