Thread (19 messages) flat view 19 messages, 6 authors, 2025-07-02

Re: [PATCH net-next v2 0/9] net: Remove unused function parameters in skbuff.c

From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-07-01 09:02:56
Also in: linux-rdma, linux-s390, lkml

On 7/1/25 9:27 AM, Michal Luczaj wrote:
On 7/1/25 03:18, Jakub Kicinski wrote:
quoted
On Thu, 26 Jun 2025 10:33:33 +0200 Michal Luczaj wrote:
quoted
Couple of cleanup patches to get rid of unused function parameters around
skbuff.c, plus little things spotted along the way.

Offshoot of my question in [1], but way more contained. Found by adding
"-Wunused-parameter -Wno-error" to KBUILD_CFLAGS and grepping for specific
skbuff.c warnings.
I feel a little ambivalent about the removal of the flags arguments.
I understand that they are unused now, but theoretically the operation
as a whole has flags so it's not crazy to pass them along.. Dunno.
I suspect you can say the same about @gfp. Even though they've both became
irrelevant for the functions that define them. But I understand your
hesitation. Should I post v3 without this/these changes?
Yes please, I think it would make the series less controversial.

Also I feel like the gfp flag removal is less controversial, as is IMHO
reasonable that skb_splice_from_iter() would not allocate any memory.

Thanks,

Paolo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help