RE: [PATCH 3/3] staging: comedi: serial2002: use proper errno

2015-08-17 Thread Hartley Sweeten
On Monday, August 17, 2015 4:52 AM, Ian Abbott wrote: > On 15/08/15 01:31, H Hartley Sweeten wrote: >> checkpatch.pl reports: >> WARNING: ENOSYS means 'invalid syscall nr' and nothing else >> >> Change the error code to -ENOIOCTLCMD/ >> >> Signed-off-by: H Hartley Sweeten >> Cc: Ian Abbott >> Cc:

Re: [PATCH 3/3] staging: comedi: serial2002: use proper errno

2015-08-17 Thread Ian Abbott
On 15/08/15 01:31, H Hartley Sweeten wrote: checkpatch.pl reports: WARNING: ENOSYS means 'invalid syscall nr' and nothing else Change the error code to -ENOIOCTLCMD/ Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/serial2002.c | 2 +

[PATCH 3/3] staging: comedi: serial2002: use proper errno

2015-08-14 Thread H Hartley Sweeten
checkpatch.pl reports: WARNING: ENOSYS means 'invalid syscall nr' and nothing else Change the error code to -ENOIOCTLCMD/ Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/serial2002.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-