From: Dan Carpenter Date: Fri, 10 Dec 2010 02:40:09 +0000 (+0000) Subject: isdn: return -EFAULT if copy_from_user() fails X-Git-Tag: v2.6.38-rc1~476^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36accaed22347f4b09cbc3c9fe2c1163a3575ea1;p=pandora-kernel.git isdn: return -EFAULT if copy_from_user() fails We should be returning -EFAULT here. Mostly this patch is to silence a smatch warning. The upper levels of this driver turn all non-zero return values from isar_load_firmware() into 1. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed