# Re: \[PATCH net 2/7\] selftests: can: enable CONFIG\_CAN\_VCAN as a module

- From: Davide Caratti \<hidden\>
- Date: 2025-09-10 08:28:14 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/09/9361016
- Thread: https://ratatoskr.run/netdev/2025/09/9360997/t.md

```text
hi,

On Wed, Sep 10, 2025 at 09:37:59AM +0200, Davide Caratti wrote:
> > ...
> > # 4.13 [+0.00] # Exception| lib.py.utils.CmdExitFailure: Command failed:
> >         ['ip', '-netns', 'rhsbrszn', 'link', 'add', 'foo', 'type', 'vxcan']
> > # 4.14 [+0.00] # Exception| STDERR: b'Error: Unknown device type.\n'
> > 
> 
> > Best regards, Ilya Maximets.
> 
> thanks for spotting this, I was testing the patch with:
> 
>  # vng --kconfig
>  # yes | make kselftest-merge
>  # grep ^CONFIG_CAN .config
> 
> Then it's probably safer to drop the first hunk - or restore to v1
> 
> https://lore.kernel.org/linux-can/fdab0848a377969142f5ff9aea79c4e357a72474.1755276597.git.dcaratti@redhat.com/

And I see that the build [1] is doing:

  CLEAN   scripts
  CLEAN   include/config include/generated arch/x86/include/generated .config .config.old .version Module.symvers
> TREE CMD: vng -v -b -f tools/testing/selftests/net/config -f tools/testing/selftests/net/af_unix/config
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o

[1] https://netdev-3.bots.linux.dev/vmksft-net/results/291401/build/stdout 

while the enablement of CONFIG_CAN_VCAN is still necessary, the contents of selftests/net/config need to be preserved.
@Jakub,  @Marc, we can drop this patch from the series and I will respin to linux-can ? or you can adjust things in other ways?
-- 
davide

```
