[PATCH -next v3 0/2] sunrpc: Fix W=1 compiler warnings

From: Geert Uytterhoeven
Date: Mon Oct 16 2023 - 09:09:32 EST


Hi all,

This patch series fixes W=1 compiler warnings in sunrpc, related to
variables that are used only when debugging is enabled.

Changes compared to v2:
- New patch "sunrpc: Wrap read accesses to rpc_task.tk_pid",
- Add Acked-by.

Changes compared to v1:
- s/uncontionally/unconditionally/,
- Drop CONFIG_SUNRPC_DEBUG check in fs/lockd/svclock.c to fix build
failure.

Thanks for your comments!

Geert Uytterhoeven (2):
sunrpc: Wrap read accesses to rpc_task.tk_pid
sunrpc: Use no_printk() in dfprintk*() dummies

fs/lockd/svclock.c | 2 --
fs/nfs/filelayout/filelayout.c | 12 ++++++------
fs/nfs/flexfilelayout/flexfilelayout.c | 9 +++------
include/linux/sunrpc/debug.h | 6 +++---
include/linux/sunrpc/sched.h | 10 ++++++++++
net/sunrpc/clnt.c | 2 +-
net/sunrpc/debugfs.c | 2 +-
7 files changed, 24 insertions(+), 19 deletions(-)

--
2.34.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds