diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-11-24 07:04:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-27 15:28:35 -0500 |
commit | 5a717f4f8f2830f297b5511022481bdc27b9d576 (patch) | |
tree | 6f074433171a53cf0b3f7e590d2ab7d5a9e4877a /Documentation/devicetree | |
parent | 428951161b8ab73d547c8915dcfc5fa6f10012a8 (diff) |
netdevice: fix sparse warning for HARD_TX_LOCK
sparse warns about context imbalance in any code
that uses HARD_TX_LOCK/UNLOCK - this is because it's
unable to determine that flags don't change so
lock and unlock are paired.
Seems easy enough to fix by adding __acquire/__release
calls.
With this patch af_packet.c is now sparse-clean,
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions