On Sat, Sep 15, 2018 at 07:21:11PM +0200, Miquel Raynal wrote:
Hi Sasha,
Sasha Levin Alexander.Levin@microsoft.com wrote on Sat, 15 Sep 2018 01:29:55 +0000:
From: Boris Brezillon boris.brezillon@bootlin.com
[ Upstream commit 8f3931ed975e1d775b87ce85d65ecacd54138359 ]
We want to allow this driver to be selected when COMPILE_TEST=y, this means the driver can be compiled for any arch, including MIPS. When compiling this driver for MIPS, we end up with a collision on the 'PC' macro definition (also defined in arch/mips/include/asm/ptrace.h).
Prefix the fsmc one with FSMC_ to avoid this problem.
Signed-off-by: Boris Brezillon boris.brezillon@bootlin.com Signed-off-by: Miquel Raynal miquel.raynal@bootlin.com Signed-off-by: Sasha Levin alexander.levin@microsoft.com
I don't know what the exact policy is regarding backporting patches to stable but this one, while harmless, will have no effect on stable kernels AFAICT because it fixes issues discovered when allowing COMPILE_TEST on a few drivers, which is a change that is not going to be stable materials anyway.
Same situation for: [PATCH AUTOSEL 4.18 11/92] mtd: rawnand: sunxi: Add an U suffix to NFC_PAGE_OP definition [PATCH AUTOSEL 4.14 08/57] mtd: rawnand: sunxi: Add an U suffix to NFC_PAGE_OP definition [PATCH AUTOSEL 4.9 04/34] mtd: rawnand: sunxi: Add an U suffix to NFC_PAGE_OP definition [PATCH AUTOSEL 4.4 04/20] mtd: rawnand: sunxi: Add an U suffix to NFC_PAGE_OP definition
I'll drop it from all branches. Thanks!