summaryrefslogtreecommitdiff
path: root/kernel/time/alarmtimer.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-04-20 11:46:27 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-20 15:32:45 (GMT)
commit8f9064a8a3b9f0dfd53bb0dfb3bbbfb457dda4bb (patch)
tree34ce202591fd9ac150ccbf79acea3c9cce2c0cbb /kernel/time/alarmtimer.c
parent3fb95e564e535a1614f7cea1ac194f312eb0d2b8 (diff)
downloadlinux-fsl-qoriq-8f9064a8a3b9f0dfd53bb0dfb3bbbfb457dda4bb.tar.xz
staging: comedi vmk80xx: lock held on error path
If the user passes an invalid command, then we don't drop the lock before returning. The check for invalid commands doesn't need to be done under lock so I moved it forward a couple lines. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/time/alarmtimer.c')
0 files changed, 0 insertions, 0 deletions