Re: [PATCH] scsi: lpfc: use memcpy_toio instead of writeq

From: Andy Shevchenko
Date: Fri Feb 23 2018 - 11:13:48 EST


On Fri, Feb 23, 2018 at 5:59 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Fri, Feb 23, 2018 at 5:36 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:

> IIRC memcpy_toio() doesn't increment the destination address.
>
> lo_hi or hi_lo helpers sound better.

Ah, sorry, I messed up with writesl() / etc.

memcpy_toio() has another side-effect, but here it seems unimportant.

--
With Best Regards,
Andy Shevchenko