]> git.baikalelectronics.ru Git - kernel.git/commit
random: fix an incorrect __user annotation on proc_do_entropy
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jun 2020 05:52:36 +0000 (07:52 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Jun 2020 14:13:56 +0000 (10:13 -0400)
commitb1c62ff16536621197df12c2806013b725ad1205
tree30f7d860940d89457e8bd5873dda4dc5f8ba819e
parentfa59ce0075eb811caa7994c9153708df0a29bcc5
random: fix an incorrect __user annotation on proc_do_entropy

No user pointers for sysctls anymore.

Fixes: 601626d6a421 ("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/char/random.c