[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181117223929.20f6852f@xps13>
Date: Sat, 17 Nov 2018 22:39:29 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Olof Johansson <olof@...om.net>
Cc: Boris Brezillon <boris.brezillon@...tlin.com>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: rawnand: qcom: Namespace prefix some commands
Hi Olof,
Olof Johansson <olof@...om.net> wrote on Fri, 16 Nov 2018 19:43:27
-0800:
> PAGE_READ is used by RISC-V arch code included through mm headers,
> and it makes sense to bring in a prefix on these in the driver.
>
> drivers/mtd/nand/raw/qcom_nandc.c:153: warning: "PAGE_READ" redefined
> #define PAGE_READ 0x2
> In file included from include/linux/memremap.h:7,
> from include/linux/mm.h:27,
> from include/linux/scatterlist.h:8,
> from include/linux/dma-mapping.h:11,
> from drivers/mtd/nand/raw/qcom_nandc.c:17:
> arch/riscv/include/asm/pgtable.h:48: note: this is the location of the previous definition
>
> Caught by riscv allmodconfig.
>
> Signed-off-by: Olof Johansson <olof@...om.net>
> ---
Reviewed-by: Miquel Raynal <miquel.raynal@...tlin.com>
Boris, do you want to queue this as a fix?
Thanks,
Miquèl
Powered by blists - more mailing lists