[PATCH 5/9] compiler.h: add missing kernel-doc for data_race() @expr parameter
From: Kit Dallege
Date: Sun Mar 15 2026 - 11:36:09 EST
Document the @expr parameter for the data_race() macro that was missing
from the kernel-doc comment.
Assisted-by: Claude <noreply@xxxxxxxxxxxxx>
Signed-off-by: Kit Dallege <xaum.io@xxxxxxxxx>
---
include/linux/compiler.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index af16624b29fd..4ae001bb6442 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -171,6 +171,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
/**
* data_race - mark an expression as containing intentional data races
+ * @expr: the expression to execute with data race checking disabled
*
* This data_race() macro is useful for situations in which data races
* should be forgiven. One example is diagnostic code that accesses
--
2.53.0