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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
.gitignore
c101.c
cosa.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cosa.h
cycx_drv.c
cycx_main.c drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
cycx_x25.c
dlci.c
dscc4.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
farsync.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
farsync.h
hd6457x.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hd64570.h
hd64572.h
hdlc_cisco.c [IPV4]: annotate struct in_ifaddr 2006-09-28 18:00:55 -07:00
hdlc_fr.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_ppp.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_raw_eth.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_raw.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_x25.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hostess_sv11.c
Kconfig [NET] sealevel: uses arp_broken_ops 2006-10-30 15:24:33 -08:00
lapbether.c
Makefile [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
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 [PATCH] git-netdev-all: pc300_tty build fix 2006-09-27 16:18:24 -04:00
pci200syn.c
sbni.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sbni.h
sdla.c drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
sealevel.c
syncppp.c [PATCH] Uninitialized variable in drivers/net/wan/syncppp.c 2006-09-29 09:18:23 -07:00
wanxl.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c
x25_asy.h
z85230.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
z85230.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00