Akinobu Mita 09669585b5 [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 <jgarzik@pobox.com>
Cc: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>

 drivers/net/wan/n2.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-10-31 20:22:05 -05:00
..
2006-10-11 11:14:25 -07:00
2006-10-28 22:30:17 +01:00
2006-10-24 22:01:11 -07:00
2006-10-31 20:22:05 -05:00
2006-10-08 12:32:35 -07:00
2006-10-03 22:31:37 +02:00
2006-10-31 08:13:19 -08:00
2006-10-30 12:08:40 -08:00
2006-10-17 08:18:42 -07:00
2006-10-31 12:53:28 +09:00
2006-10-17 08:18:44 -07:00
2006-10-17 08:18:42 -07:00
2006-08-10 07:31:37 -04:00