* [PATCH 5/9] compiler.h: add missing kernel-doc for data_race() @expr parameter
@ 2026-03-15 15:34 Kit Dallege
0 siblings, 0 replies; only message in thread
From: Kit Dallege @ 2026-03-15 15:34 UTC (permalink / raw)
To: Chris Li; +Cc: linux-sparse, linux-kernel, Kit Dallege, Claude
Document the @expr parameter for the data_race() macro that was missing
from the kernel-doc comment.
Assisted-by: Claude <noreply@anthropic.com>
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-15 15:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-15 15:34 [PATCH 5/9] compiler.h: add missing kernel-doc for data_race() @expr parameter Kit Dallege
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox