diff options
| author | Gal Pressman <[email protected]> | 2022-02-17 10:07:55 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-02-18 11:00:25 +0000 |
| commit | 8467fadc115cb08bb1cbc7885cb7b7ef1871cae4 (patch) | |
| tree | 4afd869e384a004778d9af2db5b85e8755dc060c /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 129c77b5692d4a95a00aa7d58075afe77179623e (diff) | |
net: gro: Fix a 'directive in macro's argument list' sparse warning
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 <[email protected]>
Signed-off-by: Gal Pressman <[email protected]>
Acked-by: Alexander Lobakin <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions