aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorSudeep Holla <[email protected]>2015-03-20 11:42:17 +0000
committerFelipe Balbi <[email protected]>2015-03-24 11:38:58 -0500
commit65582a7f4ce5bd7a1fb61516d9c2476f4f166f4e (patch)
treebf012c910c79c488b31dd66cb9aef4db76498bf3 /lib/cpu-notifier-error-inject.c
parentbc465aa9d045feb0e13b4a8f32cc33c1943f62d6 (diff)
usb: isp1760: fix spin unlock in the error path of isp1760_udc_start
Commit a124820de5fd ("usb: isp1760: fix possible deadlock in isp1760_udc_irq") replaced spin_{un,}lock with spin_{un,}lock_irq{save,restore}. However it missed an error path resulting in the smatch warning as below: drivers/usb/isp1760/isp1760-udc.c:1230 isp1760_udc_start() warn: inconsistent returns 'irqsave:flags'. Locked on: line 1207 Unlocked on: line 1199 This patch fixes the spin unlock in the error path in isp1760_udc_start thereby removing the smatch warning mentioned above. Reported-by: Dan Carpenter <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Felipe Balbi <[email protected]> Signed-off-by: Sudeep Holla <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions