compat_ioctl: move hci_sock handlers into driver
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Mar 2019 13:10:33 +0000 (14:10 +0100)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:44 +0000 (17:23 +0200)
commit7a6038b30017c45e1110388083849689356a23ae
treecb50670b51a50d0ba12986ee6e52028be2cc06b2
parent7d60a7a6cd04c34014e763b5d7ed35d6366e42aa
compat_ioctl: move hci_sock handlers into driver

All these ioctl commands are compatible, so we can handle
them with a trivial wrapper in hci_sock.c and remove
the listing in fs/compat_ioctl.c.

A few of the commands pass integer arguments instead of
pointers, so for correctness skip the compat_ptr() conversion
here.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c
net/bluetooth/hci_sock.c