net:atm:fix up ENOIOCTLCMD error handling
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Sun, 26 Aug 2012 21:23:13 +0000 (21:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Aug 2012 20:14:33 +0000 (16:14 -0400)
commit4a2c240691bfdb9b08e680fb8af3f8c011c60e02
tree7658ba4c416ef6c8b8e96af2ff850f1e26a35b1a
parent3f8bdecd32ab8f52bff1d646e2acb7c241d12a8d
net:atm:fix up ENOIOCTLCMD error handling

At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be
translated as ENOTTY to user mode.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/resources.c