]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
driver core: disable revocable code from build
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Feb 2026 12:30:37 +0000 (13:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Feb 2026 08:22:51 +0000 (09:22 +0100)
The revocable code is still under active discussion, and there is no
in-kernel users of it.  So disable it from the build for now so that no
one suffers from it being present in the tree, yet leave it in the
source tree so that others can easily test it by reverting this commit
and building off of it for future releases.

Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/2026020307-rimmed-dreamy-5a67@gregkh
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/Kconfig
drivers/base/Makefile
tools/testing/selftests/Makefile

index 8f7d7b9d81ac91549cc736f97184ad21f0d80b8d..9f318b98144d3c658cd86068615db2cbf0db25bb 100644 (file)
@@ -254,7 +254,7 @@ endmenu
 # Kunit test cases
 config REVOCABLE_KUNIT_TEST
        tristate "Kunit tests for revocable" if !KUNIT_ALL_TESTS
-       depends on KUNIT
+       depends on KUNIT && BROKEN
        default KUNIT_ALL_TESTS
        help
          Kunit tests for the revocable API.
index 4185aaa9bbb99b37d79e1d912b46d50496fa0e21..4c6607616a73087aed1d67278fb045734a71bc13 100644 (file)
@@ -6,7 +6,7 @@ obj-y                   := component.o core.o bus.o dd.o syscore.o \
                           cpu.o firmware.o init.o map.o devres.o \
                           attribute_container.o transport_class.o \
                           topology.o container.o property.o cacheinfo.o \
-                          swnode.o faux.o revocable.o
+                          swnode.o faux.o
 obj-$(CONFIG_AUXILIARY_BUS) += auxiliary.o
 obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
 obj-y                  += power/
index 11b6515ce3d05b431637b62ad90693e4579f1b06..56e44a98d6a597179a5d7e0e67282c322c22ddda 100644 (file)
@@ -17,7 +17,6 @@ TARGETS += damon
 TARGETS += devices/error_logs
 TARGETS += devices/probe
 TARGETS += dmabuf-heaps
-TARGETS += drivers/base/revocable
 TARGETS += drivers/dma-buf
 TARGETS += drivers/ntsync
 TARGETS += drivers/s390x/uvdevice