[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <33688294-ac1a-cec8-527d-a6a010a6128d@google.com>
Date: Sun, 28 Dec 2025 19:52:23 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Dipendra Khadka <kdipendra88@...il.com>
cc: Michal Hocko <mhocko@...e.com>, Andrew Morton <akpm@...ux-foundation.org>,
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 Dec 2025, 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>
I don't have a strong opinion given this will result in the same output.
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists