lpfc_debugfs: get rid of pointless access_ok()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Apr 2020 03:20:52 +0000 (23:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 May 2020 15:05:54 +0000 (11:05 -0400)
commite6c0433e270ae96fb62fd30cf7c2c7bf57d5391f
treeaa74b98cdbafad36d7bb617f5a3bbf89406b2d01
parentd2659e583eb32fddea4f27a346de84f88be6119f
lpfc_debugfs: get rid of pointless access_ok()

No, you do NOT need to "protect copy from user" that way.
Incidentally, your userland ABI stinks.  I understand that you
wanted to accept "reset" and "reset\n" as equivalent, but I suspect
that accepting "reset this, you !@^!@!" had been an accident.
Nothing to do about that now - it is a userland ABI...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/scsi/lpfc/lpfc_debugfs.c