Re: [PATCH] scsi: pmcraid: use normal copy_from_user

2017-04-24 Thread Martin K. Petersen
Arnd, > 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 p

Re: [PATCH] scsi: pmcraid: use normal copy_from_user

2017-04-23 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

[PATCH] scsi: pmcraid: use normal copy_from_user

2017-04-21 Thread Arnd Bergmann
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