copy_to_user() returns the number of bytes remaining but we want to return a negative error code on errors. Signed-off-by: Dan Carpenter <error27@gmail.com> Cc: "Michael H. Warfield" <mhw@wittsend.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
|---|---|---|
| .. | ||
| i2cmd.c | ||
| i2cmd.h | ||
| i2ellis.c | ||
| i2ellis.h | ||
| i2hw.h | ||
| i2lib.c | ||
| i2lib.h | ||
| i2pack.h | ||
| ip2.h | ||
| ip2ioctl.h | ||
| ip2main.c | ||
| ip2trace.h | ||
| ip2types.h | ||
| Makefile | ||