android_kernel_xiaomi_sm8350/drivers/net/wan
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
..
lmc
.gitignore
c101.c
cosa.c
cosa.h
cycx_drv.c
cycx_main.c
cycx_x25.c
dlci.c
dscc4.c
farsync.c
farsync.h
hd6457x.c
hd64570.h
hd64572.h
hdlc_cisco.c
hdlc_fr.c
hdlc_ppp.c
hdlc_raw_eth.c
hdlc_raw.c
hdlc_x25.c
hdlc.c
hostess_sv11.c
Kconfig [NET] sealevel: uses arp_broken_ops 2006-10-30 15:24:33 -08:00
lapbether.c
Makefile
n2.c [PATCH] n2: fix confusing error code 2006-10-31 20:22:05 -05:00
pc300_drv.c [PATCH] WAN/pc300: handle, propagate minor errors 2006-10-21 14:08:24 -04:00
pc300_tty.c
pc300-falc-lh.h
pc300.h
pci200syn.c
sbni.c
sbni.h
sdla.c
sealevel.c
syncppp.c
wanxl.c
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c
x25_asy.h
z85230.c
z85230.h