Thread (7 messages) 7 messages, 3 authors, 2026-03-02

Re: [PATCH v6 0/2] Fix compiler warnings/errors in SUNRPC and MACB

From: Sean Chang <hidden>
Date: 2026-03-02 16:28:31
Also in: linux-nfs, lkml

On Mon, Mar 2, 2026 at 9:26 PM Andy Shevchenko
[off-list ref] wrote:
On Sun, Mar 01, 2026 at 06:39:44PM +0100, Andrew Lunn wrote:
quoted
quoted
- Verified via .lst and nm that both variables (buf) and helper functions
  (nlmdbg_cookie2a) are fully optimized out by the compiler when
  CONFIG_SUNRPC_DEBUG is disabled.
Thanks for doing this bit. It was needed to show my guess was correct.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
It already has your tag. My Q in v5 still stands: Why is this a series and not
standalone changes?

Also I just gave a tag, please split these two and send individually.
Hi Andy,
Thanks for the suggestion. I have split these into two standalone patches
as you requested:
1. The SUNRPC/NFSD macro simplification [1]
2. The Ethtool/macb redundant guard cleanup [2]

I've also verified the optimization again via .lst files to ensure everything
is clean.

[1] https://lore.kernel.org/all/20260302142931.49108-1-seanwascoding@gmail.com/ (local)
[2] https://lore.kernel.org/all/20260302161818.63651-1-seanwascoding@gmail.com/ (local)
---
Best Regards,
Sean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help