diff options
author | Scott Feldman <sfeldma@gmail.com> | 2015-02-25 20:15:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-26 11:21:57 -0500 |
commit | 7eb344f8731a0327155814f387984dedb1df032a (patch) | |
tree | 050bc4fed980c5d5627525cb9f5d76cc94d9f5c3 /kernel/sys.c | |
parent | 009f33ed6f9d9da0141c2d18b1c7912d2d9be7c1 (diff) | |
download | linux-7eb344f8731a0327155814f387984dedb1df032a.tar.bz2 |
rocker: fix non-portable err return codes
The rocker device returns error codes if something goes wrong with descriptor
processing. Originally the device used standard errno codes for different
errors, but since those errno codes aren't portable across ARCHs, the device
now returns hard-coded error codes that stay constant across diff ARCHs. Fix
driver to use those same hard-coded values.
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions