From: Dan Carpenter Date: Fri, 14 May 2010 13:25:39 +0000 (+0200) Subject: ath9k/debug: fixup the return codes X-Git-Tag: v2.6.36-rc1~571^2~615^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04236066e00ab20c6745569268d67a980bd06abd;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed