diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-14 09:25:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-02 16:13:08 -0400 |
commit | 04236066e00ab20c6745569268d67a980bd06abd (patch) | |
tree | 94b56cfde8b7340e8ca37a37951dac99e0353ab1 /drivers/net/macb.h | |
parent | 2b87f3aac04818f720956e2b70f9b04fc8e2c794 (diff) |
ath9k/debug: fixup the return codes
Changed -EINVAL to -EFAULT if copy_to_user() failed.
Changed 0 to -ENOMEM if allocations failed.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/macb.h')
0 files changed, 0 insertions, 0 deletions