Re: [RESEND2 PATCH 1/3] memremap: add MEMREMAP_WC flag

From: Andrew Morton
Date: Wed Feb 17 2016 - 14:02:35 EST


On Wed, 17 Feb 2016 11:53:48 +0000 Brian Starkey <brian.starkey@xxxxxxx> wrote:

> Hi Andrew,
>
> Would you pick these up if I rebase onto linux-next?

Sure.

> How strongly do you feel about the input argument modification vs.
> staying in-line with the rest of the function?

I see no reason why memremap() is modifying `flags' as it proceeds -
these flags are all disjoint so it's pointless. I suggest you simply
take all that out in a preparatory patch.