]> git.baikalelectronics.ru Git - kernel.git/commit
cdrom: fix an incorrect __user annotation on cdrom_sysctl_info
authorChristoph Hellwig <hch@lst.de>
Tue, 9 Jun 2020 17:08:18 +0000 (19:08 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Jun 2020 18:11:33 +0000 (14:11 -0400)
commit29d79070c7ecc7c3c81a518afa65c0ea8c0cb738
tree78487136807f44a8c5f409c220612f76219acbf7
parente50c4315a97ce7d319d3b44d2d610d487f3616c9
cdrom: fix an incorrect __user annotation on cdrom_sysctl_info

No user pointers for sysctls anymore.

Fixes: ecad013df758 ("sysctl: pass kernel pointers to ->proc_handler")
Reported-by: build test robot <lkp@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/cdrom/cdrom.c