[PATCH v3 0/3] sunrpc: Fix `make W=1` build issues

Andy Shevchenko
2026-02-04T20:24:49Z

Compiler is not happy about unused variables (especially when
dprintk() call is defined as no-op). Here is the series to
address the issues.

Changelog v3:
- removed ifdeffery to have struct rpc_task::tk_pid available (LKP)
- collected more tags (Anna, Jeff)

v2: 20260204094500.2443455-1-andriy.shevchenko@linux.intel.com

Changelog v2:
- added patch to kill RPC_IFDEBUG() macro (LKP, Geert)
- united separate patches in the series
- collected tags (Geert)

v1: 20260204010402.2149563-1-andriy.shevchenko@linux.intel.com
v1: 20260204010415.2149607-1-andriy.shevchenko@linux.intel.com

Andy Shevchenko (3):
nfs/blocklayout: Fix compilation error (`make W=1`) in
bl_write_pagelist()
sunrpc: Kill RPC_IFDEBUG()
sunrpc: Fix compilation error (`make W=1`) when dprintk() is no-op

fs/lockd/svclock.c | 5 +++++
fs/nfs/blocklayout/blocklayout.c | 4 +---
fs/nfsd/nfsfh.c | 9 +++++---
include/linux/sunrpc/debug.h | 10 +++++----
include/linux/sunrpc/sched.h | 3 ---
net/sunrpc/xprtrdma/svc_rdma_transport.c | 27 ++++++++++++------------
6 files changed, 32 insertions(+), 26 deletions(-)

--
2.50.1