Thread (3 messages) flat view 3 messages, 3 authors, 2022-02-18

Re: [PATCH net-next v2] net: gro: Fix a 'directive in macro's argument list' sparse warning

From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-02-18 11:10:21

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller [off-list ref]:

On Thu, 17 Feb 2022 10:07:55 +0200 you wrote:
Following the cited commit, sparse started complaining about:
../include/net/gro.h:58:1: warning: directive in macro's argument list
../include/net/gro.h:59:1: warning: directive in macro's argument list

Fix that by moving the defines out of the struct_group() macro.

Fixes: de5a1f3ce4c8 ("net: gro: minor optimization for dev_gro_receive()")
Reviewed-by: Maxim Mikityanskiy <redacted>
Signed-off-by: Gal Pressman <redacted>
Acked-by: Alexander Lobakin <redacted>

[...]
Here is the summary with links:
  - [net-next,v2] net: gro: Fix a 'directive in macro's argument list' sparse warning
    https://git.kernel.org/netdev/net-next/c/8467fadc115c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

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