[PATCH] riscv: skip errata_cip_453.o if CONFIG_ERRATA_SIFIVE_CIP_453 is disabled

Palmer Dabbelt palmer at dabbelt.com
Sat May 29 15:44:59 PDT 2021


On Fri, 21 May 2021 16:40:15 PDT (-0700), vincent.chen at sifive.com wrote:
> From: Vincent <vincent.chen at sifive.com>
>
> 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 at intel.com>
> Signed-off-by: Vincent <vincent.chen at sifive.com>
> 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(-)
>
> diff --git a/arch/riscv/errata/sifive/Makefile b/arch/riscv/errata/sifive/Makefile
> index bdd5fc843b8e..2fde48db0619 100644
> --- a/arch/riscv/errata/sifive/Makefile
> +++ b/arch/riscv/errata/sifive/Makefile
> @@ -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.



More information about the linux-riscv mailing list