]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5ed0b095151645d5ce1f09098a58d423263a4b2
treecb50670b51a50d0ba12986ee6e52028be2cc06b2
parente1764edb83fbb43702e9a2f6f24009907cda2d33
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