[PATCH v3 0/3] sunrpc: Fix `make W=1` build issues
From: Andy Shevchenko
Date: Wed Feb 04 2026 - 15:25:50 EST
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@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxx
v1: 20260204010415.2149607-1-andriy.shevchenko@xxxxxxxxxxxxxxx
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