[PATCH v2] compiler.h: add missing kernel-doc for data_race() @expr parameter

Kit Dallege posted 1 patch 3 weeks, 1 day ago
include/linux/compiler.h | 1 +
1 file changed, 1 insertion(+)
[PATCH v2] compiler.h: add missing kernel-doc for data_race() @expr parameter
Posted by Kit Dallege 3 weeks, 1 day ago
Document the @expr parameter for the data_race() macro that was missing
from the kernel-doc comment.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
---
 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