lkml.org 
[lkml]   [2006]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] n2: fix confusing error code
From
Date
Akinobu Mita <akinobu.mita@gmail.com> writes:

> modprobe n2 with no parameters or no such devices
> will get confusing error message.
>
> # modprobe n2
> ... Kernel does not have module support

Now that's interesting :-)

> This patch replaces return code from -ENOSYS to -EINVAL.
>
> Cc: Jeff Garzik <jgarzik@pobox.com>
> Cc: Krzysztof Halasa <khc@pm.waw.pl>
> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

Acked-by: Krzysztof Halasa <khc@pm.waw.pl>.
Jeff, please apply.

Thanks.
--
Krzysztof Halasa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-29 00:13    [from the cache]
©2003-2011 Jasper Spaans