commit | 030c98824deaba205787af501a074b3d7f46e32e | [log] [tgz] |
---|---|---|
author | Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> | Wed Jun 24 01:51:32 2020 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 23 15:18:47 2020 -0700 |
tree | d81f2c7c454449d7fdb9f331c0ec330198d93f60 | |
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>