diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-11-16 01:53:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-24 18:18:05 -0200 |
commit | 9b98d60679711753e548be15c6bef5239db6ed64 (patch) | |
tree | 3257eeabc23c4f39deff7c8ecf09a53fe465ec9d /crypto/rmd128.c | |
parent | 1ff1d88e862948ae5bfe490248c023ff8ac2855d (diff) | |
download | linux-9b98d60679711753e548be15c6bef5239db6ed64.tar.gz linux-9b98d60679711753e548be15c6bef5239db6ed64.tar.bz2 linux-9b98d60679711753e548be15c6bef5239db6ed64.zip |
[media] staging: lirc_serial: Fix bogus error codes
Device not found? ENODEV, not EINVAL.
Write to read-only device? EPERM, not EBADF.
Invalid argument? EINVAL, not ENOSYS.
Unsupported ioctl? ENOIOCTLCMD, not ENOSYS.
Another function returned an error code? Use that, don't replace it.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'crypto/rmd128.c')
0 files changed, 0 insertions, 0 deletions