As you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: jun qian <redacted>
---
drivers/net/ethernet/netronome/nfp/nfp_net_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Jakub Kicinski <hidden> Date: 2018-09-07 16:36:48
On Fri, 7 Sep 2018 09:21:17 -0700, jun qian wrote:
As you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: jun qian <redacted>
FWIW you should put spaces after the colons. It's generally a good
practice to look at the prefix previous authors used for a given piece
of code with
git log -- $file_path
This would be a better subject:
nfp: replace spin_lock_bh with spin_lock in tasklet callback
On Fri, 7 Sep 2018 09:21:17 -0700, jun qian wrote:
quoted
As you are already in a tasklet, it is unnecessary to call spin_lock_bh.
Signed-off-by: jun qian <redacted>
FWIW you should put spaces after the colons. It's generally a good
practice to look at the prefix previous authors used for a given piece
of code with
git log -- $file_path
This would be a better subject:
nfp: replace spin_lock_bh with spin_lock in tasklet callback