[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1bmrlihdl.fsf@oracle.com>
Date: Mon, 24 Apr 2017 18:13:26 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Alexander Viro <viro@...iv.linux.org.uk>,
Johannes Berg <johannes.berg@...el.com>,
Baoyou Xie <baoyou.xie@...aro.org>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: pmcraid: use normal copy_from_user
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 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.
Applied patches 1, 3, 4 as well as this one to 4.12/scsi-queue. I took
Christoph's version of patch 2.
Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists