linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2]  mm: Coccinelle-driven cleanups across memory
@ 2026-02-04 18:54 Sahil Chandna
  2026-02-04 18:54 ` [PATCH v5 1/2] mm/vmscan: use %pe to print error pointers Sahil Chandna
  2026-02-04 18:54 ` [PATCH v5 2/2] mm/zswap: " Sahil Chandna
  0 siblings, 2 replies; 3+ messages in thread
From: Sahil Chandna @ 2026-02-04 18:54 UTC (permalink / raw)
  To: akpm, hannes, yosry.ahmed, nphamcs, david, sj, mhocko,
	zhengqi.arch, shakeel.butt, lorenzo.stoakes, axelrasmussen,
	yuanchu, weixugc, chengming.zhou, linux-mm, linux-kernel
  Cc: Sahil Chandna

This patch series contains minor changes identified by
Coccinelle scripts under scripts/coccinelle/misc/:

  * Use the %pe printk format specifier for PTR_ERR() reporting
    in vmscan.c and zswap.c
Found using:
  make coccicheck MODE=report M=mm/

change since v4:
- Remove use of ALIGN() macro as it caused infinite loop in case page
was already aligned.
change since v3:
- Update the commit message to highlight change in computation of
boundary using ALIGN().
changes since v1 and v2:
- Patch 1/3: update return value as per review comments.
- patch 2/3 and 3/3: Add Acked-by and Reviewed-by tags.

link to v1: https://lore.kernel.org/all/cover.1763227530.git.chandna.sahil@gmail.com/
link to v2: https://lore.kernel.org/all/cover.1763796152.git.chandna.sahil@gmail.com/
link to v3: https://lore.kernel.org/all/cover.1764177933.git.chandna.sahil@gmail.com/
link to v4: https://lore.kernel.org/all/cover.1764312627.git.chandna.sahil@gmail.com/

Sahil Chandna (2):
  mm/vmscan: use %pe to print error pointers
  mm/zswap: use %pe to print error pointers

 mm/vmscan.c | 4 ++--
 mm/zswap.c  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.50.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-04 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-04 18:54 [PATCH v5 0/2] mm: Coccinelle-driven cleanups across memory Sahil Chandna
2026-02-04 18:54 ` [PATCH v5 1/2] mm/vmscan: use %pe to print error pointers Sahil Chandna
2026-02-04 18:54 ` [PATCH v5 2/2] mm/zswap: " Sahil Chandna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox