diff options
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | 2020-06-24 01:51:32 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-23 15:18:47 -0700 |
commit | 030c98824deaba205787af501a074b3d7f46e32e (patch) | |
tree | d81f2c7c454449d7fdb9f331c0ec330198d93f60 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 11d8cd5c9f3b46f397f889cefdb66795518aaebd (diff) |
cxgb4: move PTP lock and unlock to caller in Tx path
Check for whether PTP is enabled or not at the caller and perform
locking/unlocking at the caller.
Fixes following sparse warning:
sge.c:1641:26: warning: context imbalance in 'cxgb4_eth_xmit' -
different lock contexts for basic block
Fixes: a456950445a0 ("cxgb4: time stamping interface for PTP")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions