Re: [PATCH] n2: fix confusing error code

From: Krzysztof Halasa
Date: Sat Oct 28 2006 - 18:10:53 EST


Akinobu Mita <akinobu.mita@xxxxxxxxx> 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@xxxxxxxxx>
> Cc: Krzysztof Halasa <khc@xxxxxxxxx>
> Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>

Acked-by: Krzysztof Halasa <khc@xxxxxxxxx>.
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/