summaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorArnd Bergmann2017-04-22 00:02:31 +0200
committerMartin K. Petersen2017-04-25 00:11:22 +0200
commitedb88cef0570914375d461107759cf0d6d677ed5 (patch)
tree211391b3d30c01116d463850a4be9be86700afde /drivers/message/fusion
parentscsi: pmcraid: fix minor sparse warnings (diff)
downloadkernel-qcow2-linux-edb88cef0570914375d461107759cf0d6d677ed5.tar.gz
kernel-qcow2-linux-edb88cef0570914375d461107759cf0d6d677ed5.tar.xz
kernel-qcow2-linux-edb88cef0570914375d461107759cf0d6d677ed5.zip
scsi: pmcraid: use normal copy_from_user
As pointed out by Al Viro for my previous series, the driver has no need to call access_ok() and __copy_from_user()/__copy_to_user(). Changing it to regular copy_from_user()/copy_to_user() simplifies the code without any real downsides, making it less error-prone at best. This patch by itself also addresses the warning about the access_ok() macro on MIPS, but both fixes improve the code, so ideally we apply them both. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message/fusion')
0 files changed, 0 insertions, 0 deletions