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

From: Brian Starkey
Date: Tue Feb 09 2016 - 04:15:25 EST


Hi Greg,

On Mon, Feb 08, 2016 at 10:30:06AM -0800, Greg KH wrote:
On Mon, Feb 08, 2016 at 05:30:50PM +0000, Brian Starkey wrote:
diff --git a/include/linux/io.h b/include/linux/io.h
index 32403b5..e2c8419 100644
--- a/include/linux/io.h
+++ b/include/linux/io.h
@@ -135,6 +135,7 @@ enum {
/* See memremap() kernel-doc for usage description... */
MEMREMAP_WB = 1 << 0,
MEMREMAP_WT = 1 << 1,
+ MEMREMAP_WC = 1 << 2,

You didn't update the documentation :(


Maybe I missed something, but I don't think there's anything to update
here? Like the comment says, the flags are documented in the memremap()
kernel-doc (which I did update - see the next two hunks of this patch).

Thanks,

Brian