Skip to content
Commit 7aca4393 authored by Jules Irenge's avatar Jules Irenge Committed by Felipe Balbi
Browse files

USB: dummy-hcd: Add missing annotation for set_link_state()



Sparse reports a warning at set_link_state()

warning: context imbalance in set_link_state() - unexpected unlock

The root cause is the missing annotation at set_link_state()
Add the missing __must_hold(&dum->lock)

Signed-off-by: default avatarJules Irenge <jbi.octave@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 66bd76e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment