diff options
| author | Akinobu Mita <[email protected]> | 2006-10-29 03:47:12 +0900 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2006-10-31 20:22:05 -0500 |
| commit | 09669585b5d0cfdebe28250d442693b3baac66a2 (patch) | |
| tree | 02c09eca3922476c9c5f59432588f9348e4c1413 /include/linux/debugobjects.h | |
| parent | 9d4df9e0fadfc84cd826e0f7e946691b4d7baee5 (diff) | |
[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 <[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]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions