[PATCH v1] RISC-V: fix incorrect type of ARCH_CANAAN_K210_DTB_SOURCE
Geert Uytterhoeven
geert at linux-m68k.org
Wed Jan 11 03:05:56 PST 2023
On Wed, Jan 11, 2023 at 11:50 AM Conor Dooley
<conor.dooley at microchip.com> wrote:
> When adding the ARCH_ symbol for the builtin K210 dtb, I erroneously
> used the bool type for something that is quite obviously a string.
> Unfortunately, there is no such thing as "def_string", but in this case
> we can use "default" to propagate the value of
> SOC_CANAAN_K210_DTB_SOURCE to ARCH_CANAAN_K210_DTB_SOURCE.
> ARCH_CANAAN_K210_DTB_SOURCE is not user selectable, so using
> olddefconfig etc will update ARCH_CANAAN_K210_DTB_SOURCE to reflect any
> changes made to SOC_CANAAN_K210_DTB_SOURCE.
>
> Fixes: fc43211939bb ("RISC-V: kconfig.socs: convert usage of SOC_CANAAN to ARCH_CANAAN")
> Reported-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
Tested-by: Geert Uytterhoeven <geert+renesas at glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
More information about the linux-riscv
mailing list