Skip to content

mm: Coccinelle-driven cleanups across memory

Sahil Chandna linux-mm lkml 5 versions – Applied

Status from this message: [merged mm-stable] mm-zswap-use-%pe-to-print-error-pointers.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesApplied 2/2
  2. v43 patches 8 repliesSuperseded
  3. v33 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches3 repliesSuperseded
v13 patches12 repliesSuperseded

Changes in v5 from the cover letter

- Remove use of ALIGN() macro as it caused infinite loop in case page was already aligned.

Patches in v5 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/vmscan: use %pe to print error pointersmm/vmscan.c+2 -20 repliesApplied
2/2mm/zswap: use %pe to print error pointersmm/zswap.c+2 -20 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDavid Hildenbrand (Red Hat)SeongJae ParkYosry AhmedNhat Pham
1/2A-b R-b
2/2A-b R-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/2] mm: Coccinelle-driven cleanups across memory

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/[email protected]/
link to v2: https://lore.kernel.org/all/[email protected]/
link to v3: https://lore.kernel.org/all/[email protected]/
link to v4: https://lore.kernel.org/all/[email protected]/

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(-)
Signature · 1 line
2.50.1