Skip to content
Snippets Groups Projects
Commit 04236066 authored by Dan Carpenter's avatar Dan Carpenter Committed by John W. Linville
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2b87f3aa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment