Skip to content

Commit b75db25

Browse files
VincentZWCpalmer-dabbelt
authored andcommitted
riscv: skip errata_cip_453.o if CONFIG_ERRATA_SIFIVE_CIP_453 is disabled
The errata_cip_453.o should be built only when the Kconfig CONFIG_ERRATA_SIFIVE_CIP_453 is enabled. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Vincent <vincent.chen@sifive.com> Fixes: 0e0d499 ("riscv: enable SiFive errata CIP-453 and CIP-1200 Kconfig only if CONFIG_64BIT=y") Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
1 parent ec3a5cb commit b75db25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/riscv/errata/sifive/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
obj-y += errata_cip_453.o
1+
obj-$(CONFIG_ERRATA_SIFIVE_CIP_453) += errata_cip_453.o
22
obj-y += errata.o

0 commit comments

Comments
 (0)