]> Git Repo - linux.git/commit
cxgb4: Add missing annotation for service_ofldq()
authorJules Irenge <[email protected]>
Wed, 29 Apr 2020 22:57:22 +0000 (23:57 +0100)
committerDavid S. Miller <[email protected]>
Fri, 1 May 2020 22:31:37 +0000 (15:31 -0700)
commitcae9566acb1a4533ca85b63f7ac0cc7ebe4a0c30
tree86f23182d71cc15ae5b39db31bb752c8ea2e856c
parent709e7158f0991ec26b2819ef944c276a19b910db
cxgb4: Add missing annotation for service_ofldq()

Sparse reports a warning at service_ofldq()

warning: context imbalance in service_ofldq() - unexpected unlock

The root cause is the missing annotation at service_ofldq()

Add the missing __must_hold(&q->sendq.lock) annotation

Signed-off-by: Jules Irenge <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/chelsio/cxgb4/sge.c
This page took 0.060293 seconds and 4 git commands to generate.