isdn: return -EFAULT if copy_from_user() fails
authorDan Carpenter <error27@gmail.com>
Fri, 10 Dec 2010 02:40:09 +0000 (02:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Dec 2010 00:15:59 +0000 (16:15 -0800)
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 <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found