]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: bcm: Fix semaphore locking bug in, IOCTL_BCM_BUFFER_DOWNLOAD
authorKevin McKinney <klmckinney1@gmail.com>
Wed, 23 Nov 2011 01:25:56 +0000 (20:25 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 01:14:48 +0000 (17:14 -0800)
commit8377346da2ab40b4c30b99f8f53f9540c1cb3697
treee4fbe028d8cd1c8c2799728a6bab176a7b5f9754
parentc360529186afa958b3c34a002916e52286f93a46
Staging: bcm: Fix semaphore locking bug in, IOCTL_BCM_BUFFER_DOWNLOAD

In this ioctl, we are testing to see if the lock is held.
If it is not held, that means this ioctl used incorrectly.
Therefore, we do not want to take the lock ourselves here.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Bcmchar.c