diff options
author | Eric Dumazet <edumazet@google.com> | 2023-06-06 13:42:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-07 13:19:28 +0200 |
commit | 886bc7d6ed3357975c5f1d3c784da96000d4bbb4 (patch) | |
tree | 37ae5043fc337ddf205b4e556582dc7a543d4365 /net/openvswitch/vport.c | |
parent | ice: make writes to /dev/gnssX synchronous (diff) | |
download | linux-886bc7d6ed3357975c5f1d3c784da96000d4bbb4.tar.xz linux-886bc7d6ed3357975c5f1d3c784da96000d4bbb4.zip |
net: sched: move rtm_tca_policy declaration to include file
rtm_tca_policy is used from net/sched/sch_api.c and net/sched/cls_api.c,
thus should be declared in an include file.
This fixes the following sparse warning:
net/sched/sch_api.c:1434:25: warning: symbol 'rtm_tca_policy' was not declared. Should it be static?
Fixes: e331473fee3d ("net/sched: cls_api: add missing validation of netlink attributes")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/vport.c')
0 files changed, 0 insertions, 0 deletions