diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-11-06 08:09:09 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-07 07:11:15 (GMT) |
commit | 9177efd3991e2cb3f5643a01d3be22121cab6efc (patch) | |
tree | 7bc6d106d4ef26d8012346f74ae0fdbe7ebdf1d3 /drivers/hwmon/coretemp.c | |
parent | 6b96018b28bd93274b4b2a4c633a5d373fda0441 (diff) | |
download | linux-9177efd3991e2cb3f5643a01d3be22121cab6efc.tar.xz |
net, compat_ioctl: handle more ioctls correctly
The MII ioctls and SIOCSIFNAME need to go through ifsioc conversion,
which they never did so far. Some others are not implemented in the
native path, so we can just return -EINVAL directly.
Add IFSLAVE ioctls to the EINVAL list and move it to the end to
optimize the code path for the common case.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/coretemp.c')
0 files changed, 0 insertions, 0 deletions