Re: [PATCH net] net: microchip: vcap: Stop selecting DEBUG_FS for KUnit tests

From: David Gow

Date: Mon Sep 21 2026 - 04:00:32 EST


Le 17/09/2026 à 14:47, Karl Mehltretter a écrit :
VCAP_KUNIT_TEST enables DEBUG_FS even when the kernel configuration
leaves it disabled. Remove the selection, following the dependency rule
in Documentation/dev-tools/kunit/style.rst.

The debugfs implementation and its tests are already built only with
DEBUG_FS. The other VCAP tests can run without it.

Fixes: 552b7d131aa0 ("net: microchip: sparx5: Add VCAP debugfs KUNIT test")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>
---
Validation on net c9151088f167: x86_64 LLVM builds and QEMU runs
with DEBUG_FS disabled and enabled. The other VCAP suites pass in both
configurations. The debugfs suite is present only with DEBUG_FS=y and
all four cases pass.


Acked-by: David Gow <david@xxxxxxxxxxxx>

Cheers,
-- David