diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-11-24 06:04:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-27 21:28:35 +0100 |
commit | 5a717f4f8f2830f297b5511022481bdc27b9d576 (patch) | |
tree | 6f074433171a53cf0b3f7e590d2ab7d5a9e4877a /drivers/net/wireless/intel/iwlwifi/iwl-debug.h | |
parent | ptp: gianfar: Use high resolution frequency method. (diff) | |
download | linux-5a717f4f8f2830f297b5511022481bdc27b9d576.tar.xz linux-5a717f4f8f2830f297b5511022481bdc27b9d576.zip |
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 'drivers/net/wireless/intel/iwlwifi/iwl-debug.h')
0 files changed, 0 insertions, 0 deletions