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> |
||
---|---|---|
.. | ||
lmc | ||
.gitignore | ||
Kconfig | ||
Makefile | ||
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.c | ||
hdlc_cisco.c | ||
hdlc_fr.c | ||
hdlc_ppp.c | ||
hdlc_raw.c | ||
hdlc_raw_eth.c | ||
hdlc_x25.c | ||
hostess_sv11.c | ||
lapbether.c | ||
n2.c | ||
pc300-falc-lh.h | ||
pc300.h | ||
pc300_drv.c | ||
pc300_tty.c | ||
pci200syn.c | ||
sbni.c | ||
sbni.h | ||
sdla.c | ||
sealevel.c | ||
syncppp.c | ||
wanxl.c | ||
wanxl.h | ||
wanxlfw.S | ||
wanxlfw.inc_shipped | ||
x25_asy.c | ||
x25_asy.h | ||
z85230.c | ||
z85230.h |