mm-oom_kill-remove-unnecessary-integer-promotion-in-format-string.patch removed from -mm tree
The quilt patch titled
Subject: mm/oom_kill: remove unnecessary integer promotion in format string
has been removed from the -mm tree. Its filename was
mm-oom_kill-remove-unnecessary-integer-promotion-in-format-string.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Dipendra Khadka <[email protected]>
Subject: mm/oom_kill: remove unnecessary integer promotion in format string
Date: Sun, 28 Dec 2025 15:44:55 +0000
The 'h' length modifier in '%hd' is unnecessary as short integers are promoted to int in variadic functions. Use '%d' instead.
Checkpatch flags the 'h' modifier as unnecessary for this reason, and many other subsystems have moved to using %d for promoted types. Hence, I think this patch aligns with kernel coding practices.
---
mm/oom_kill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
mm/oom_kill.c renamed from mm/oom_kill.c~mm-oom_kill-remove-unnecessary-integer-promotion-in-format-string +2 -2
@@ -458,7 +458,7 @@ static void dump_oom_victim(struct oom_cstatic void dump_header (struct oom_control *oc) { -pr_warn ("%s invoked oom-killer: gfp_mask=%#x(%pGg), order=%d, oom_score_adj=%hd\n" , +pr_warn ("%s invoked oom-killer: gfp_mask=%#x(%pGg), order=%d, oom_score_adj=%d\n" , current->comm, oc->gfp_mask, &oc->gfp_mask, oc->order, current->signal->oom_score_adj);if (!IS_ENABLED (CONFIG_COMPACTION ) && oc->order)
@@ -958,7 +958,7 @@ static void __oom_kill_process(struct ta*/ do_send_sig_info (SIGKILL ,SEND_SIG_PRIV , victim,PIDTYPE_TGID );mark_oom_victim (victim); - pr_err("%s: Killed process %d (%s) total-vm:%lukB, anon-rss:%lukB, file-rss:%lukB, shmem-rss:%lukB, UID:%u pgtables:%lukB oom_score_adj:%hd\n", + pr_err("%s: Killed process %d (%s) total-vm:%lukB, anon-rss:%lukB, file-rss:%lukB, shmem-rss:%lukB, UID:%u pgtables:%lukB oom_score_adj:%d\n", message, task_pid_nr(victim), victim->comm, K(mm->total_vm), K(get_mm_counter(mm, MM_ANONPAGES)), K(get_mm_counter(mm, MM_FILEPAGES)),
_
Patches currently in -mm which might be from [email protected] are