Re: [PATCH] can: rockchip_canfd: Drop obsolete dependency on COMPILE_TEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean,

+cc: Miguel Ojeda <ojeda@xxxxxxxxxx>
+cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
+cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

On Tue. 22 Oct. 2024 at 20:06, Jean Delvare <jdelvare@xxxxxxx> wrote:
> Since commit 0166dc11be91 ("of: make CONFIG_OF user selectable"), OF
> can be enabled on all architectures. Therefore depending on
> COMPILE_TEST as an alternative is no longer needed.

I understand the motivation behind this patch, but for me, as a
maintainer, it becomes more work when I want to do a compile test.
Before I would have needed to only select COMPILE_TEST but now, I
would need to remember to also select OF for that driver to appear in
the menuconfig.

Well, I am not strongly against this simplification, but, wouldn't it
be good to make COMPILE_TEST automatically select OF then? Looking at
the description of COMPILE_TEST, I read:

 If you are a developer and want to build everything available, say Y here.

So having COMPILE_TEST automatically select OF looks sane to me as it
goes in the direction of "building everything". If this makes sense, I
can send a patch for this. Thoughts?

> Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
> ---
>  drivers/net/can/rockchip/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-6.12-rc4.orig/drivers/net/can/rockchip/Kconfig
> +++ linux-6.12-rc4/drivers/net/can/rockchip/Kconfig
> @@ -2,7 +2,7 @@
>
>  config CAN_ROCKCHIP_CANFD
>         tristate "Rockchip CAN-FD controller"
> -       depends on OF || COMPILE_TEST
> +       depends on OF
>         select CAN_RX_OFFLOAD
>         help
>           Say Y here if you want to use CAN-FD controller found on
>
>
> --
> Jean Delvare
> SUSE L3 Support
>




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux