riscv: skip errata_cip_453.o if CONFIG_ERRATA_SIFIVE_CIP_453 is disabled
Subsystems (2)
PATCH 1/1 riscv: skip errata_cip_453.o if CONFIG_ERRATA_SIFIVE_CIP_453 is disabled
From: Vincent <[email protected]>
The errata_cip_453.o should be built only when the Kconfig CONFIG_ERRATA_SIFIVE_CIP_453 is enabled.
Reported-by kernel test robot <[email protected]>
Signed-off-by Vincent <[email protected]>
Fixes 0e0d4992517f ("riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y")
--- arch/riscv/errata/sifive/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/errata/sifive/Makefile +1 -1
@@ -1,2 +1,2 @@ -obj-y += errata_cip_453.o +obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o obj-y += errata.o
Signature · 7 lines
2.31.1 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Palmer Dabbelt
maintainerQuoted 17 lines · On Fri, 21 May 2021 16:40:15 PDT (-0700), [email protected] wrote:
From: Vincent <[email protected]>
The errata_cip_453.o should be built only when the
KconfigCONFIG_ERRATA_SIFIVE_CIP_453is enabled.Reported-by kernel test robot <[email protected]>Signed-off-by Vincent <[email protected]>Fixes 0e0d4992517f ("riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y")--- arch/riscv/errata/sifive/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/errata/sifive/Makefile +0
-0
arch/riscv/errata/sifive/Makefile line 2
Quoted 3 lines
arch/riscv/errata/sifive/Makefile +1
-1@@ -1,2 +1,2 @@ -obj-y += errata_cip_453.o +obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o obj-y += errata.o
Thanks, this is on fixes.
_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv