mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
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 <[email protected]> Cc: Krzysztof Halasa <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> drivers/net/wan/n2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>