]> git.baikalelectronics.ru Git - kernel.git/commit
net sched actions: fix sparse warning
authorRoman Mashak <mrv@mojatatu.com>
Wed, 27 Jun 2018 17:33:32 +0000 (13:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jun 2018 13:12:03 +0000 (22:12 +0900)
commit197630677429a30e4e785eb476f1c3093fa0e9b7
tree55871e4290a82242ddab6af4e837de914b543922
parentf483e38a0737ef65c7f16cd39fb8a63b46e65081
net sched actions: fix sparse warning

The variable _data in include/asm-generic/sections.h defines sections,
this causes sparse warning in pedit:

net/sched/act_pedit.c:293:35: warning: symbol '_data' shadows an earlier one
./include/asm-generic/sections.h:36:13: originally declared here

Therefore rename the variable.

Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_pedit.c