diff options
author | 2010-04-18 22:07:33 +0300 | |
---|---|---|
committer | 2010-04-19 16:04:13 +0200 | |
commit | 07a71415d5f790385695784a9b0e554412ee95c3 (patch) | |
tree | b9ce527d511d0f1b50c8b532e484c8bec751a316 /drivers/usb/misc/usbsevseg.c | |
parent | drivers/pcmcia: Add missing local_irq_restore (diff) | |
download | wireguard-linux-07a71415d5f790385695784a9b0e554412ee95c3.tar.xz wireguard-linux-07a71415d5f790385695784a9b0e554412ee95c3.zip |
pcmcia: fix error handling in cm4000_cs.c
In the original code we used -ENODEV as the number of bytes to
copy_to_user() and we didn't release the locks.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/usb/misc/usbsevseg.c')
0 files changed, 0 insertions, 0 deletions