Skip to contentSkip to conversation

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

PATCH New Kit Dallege 1 participant 1 message Mar 15 Sparse checker

lore
Share & tools
lore
#0 lore raw

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

Document the @expr parameter for the data_race() macro that was missing from the kernel-doc comment.

Assisted-by Claude:claude-opus-4-6
---
 include/linux/compiler.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/compiler.h +1 -0
index af16624b29fd..4ae001bb6442 100644
@@ -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
Signature · 1 line
2.53.0