diff options
author | Dan Carpenter <error27@gmail.com> | 2010-12-10 05:40:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-11 03:15:59 +0300 |
commit | 36accaed22347f4b09cbc3c9fe2c1163a3575ea1 (patch) | |
tree | 51ebac7f128c39a97da82cbe98b02c34e38e92cc /drivers/net/enic/enic_main.c | |
parent | 5d52040d4d1eabb56a4d51b760ab8f74eabb9001 (diff) | |
download | linux-36accaed22347f4b09cbc3c9fe2c1163a3575ea1.tar.xz |
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 <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic_main.c')
0 files changed, 0 insertions, 0 deletions