]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cxl/port: update reference to removed CONFIG_PROVE_CXL_LOCKING
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Wed, 10 Jun 2026 04:21:01 +0000 (21:21 -0700)
committerDave Jiang <dave.jiang@intel.com>
Wed, 10 Jun 2026 17:50:09 +0000 (10:50 -0700)
A comment in drivers/cxl/port.c refers to CONFIG_PROVE_CXL_LOCKING,
which was removed in commit 38a34e10768c ("cxl: Drop
cxl_device_lock()"). That commit switched CXL subsystem locking to
custom lock classes, which can be validated via the standard
CONFIG_PROVE_LOCKING option. Update the comment to reflect this.

Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Reviewed-by: Dan Williams <djbw@kernel.org>
Reviewed-by: Richard Cheng <icheng@nvidia.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/20260610042101.222349-1-enelsonmoore@gmail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/port.c

index ada51948d52fa9af2975dfa9180ef5a8689bd891..99cf77b6b6990cd63846dfbfce2687fd9bd5022e 100644 (file)
@@ -18,7 +18,7 @@
  * firmware) are managed in this drivers context. Each driver instance
  * is responsible for tearing down the driver context of immediate
  * descendant ports. The locking for this is validated by
- * CONFIG_PROVE_CXL_LOCKING.
+ * CONFIG_PROVE_LOCKING.
  *
  * The primary service this driver provides is presenting APIs to other
  * drivers to utilize the decoders, and indicating to userspace (via bind