]> git.baikalelectronics.ru Git - kernel.git/commit
net: atm: Add another IS_ENABLED(CONFIG_COMPAT) in atm_dev_ioctl
authorNathan Chancellor <natechancellor@gmail.com>
Thu, 7 Mar 2019 18:11:26 +0000 (11:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Mar 2019 18:14:50 +0000 (10:14 -0800)
commit5706df7a04267f544c62c96640c4c7b5a4527e8f
treedcbce92c5cfcce999971b543ab928f01f4fbb4a0
parent9031125cb033526ba6ec15991d1545bfa6d0f1be
net: atm: Add another IS_ENABLED(CONFIG_COMPAT) in atm_dev_ioctl

I removed compat's universal assignment to 0, which allows this if
statement to fall through when compat is passed with a value other
than 0.

Fixes: 392935addfb5 ("net: atm: Use IS_ENABLED in atm_dev_ioctl")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/resources.c