From: Dan Carpenter Date: Sun, 18 Apr 2010 19:07:33 +0000 (+0300) Subject: pcmcia: fix error handling in cm4000_cs.c X-Git-Tag: v2.6.34-rc6~82^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07a71415d5f790385695784a9b0e554412ee95c3;p=pandora-kernel.git 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 Acked-by: Harald Welte Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed