[PATCH 0/3] mm: Coccinelle-driven cleanups across memory management code

Sahil Chandna posted 3 patches 1 week, 6 days ago
There is a newer version of this series
mm/pagewalk.c | 2 +-
mm/vmscan.c   | 4 ++--
mm/zswap.c    | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
[PATCH 0/3] mm: Coccinelle-driven cleanups across memory management code
Posted by Sahil Chandna 1 week, 6 days ago
This patch series contains three minor cleanups identified by
Coccinelle scripts under scripts/coccinelle/misc/:

  * Replace manual ternary expression with the min() macro in pagewalk.c
  * Use the %pe printk format specifier for PTR_ERR() reporting
    in vmscan.c and zswap.c
Found using:
  make coccicheck MODE=report M=mm/

Sahil Chandna (3):
  mm/pagewalk: use min() macro instead of manual ternary
  mm/vmscan: use %pe to print PTR_ERR() values
  mm/zswap: use %pe to print PTR_ERR() values

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

-- 
2.50.1