Skip to content
Commit 07a71415 authored by Dan Carpenter's avatar Dan Carpenter Committed by Dominik Brodowski
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarHarald Welte <laforge@gnumonks.org>
Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent 42d284b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment