From: Akinobu Mita Date: Sat, 28 Oct 2006 18:47:12 +0000 (+0900) Subject: [PATCH] n2: fix confusing error code X-Git-Tag: v2.6.19-rc5~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09669585b5d0cfdebe28250d442693b3baac66a2;p=pandora-kernel.git [PATCH] n2: fix confusing error code modprobe n2 with no parameters or no such devices will get confusing error message. # modprobe n2 ... Kernel does not have module support This patch replaces return code from -ENOSYS to -EINVAL. Cc: Jeff Garzik Cc: Krzysztof Halasa Signed-off-by: Akinobu Mita drivers/net/wan/n2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed