diff options
author | Marco Elver <elver@google.com> | 2020-04-01 12:17:14 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2020-05-06 19:54:58 +0200 |
commit | 5099a722e9727fe9a93fac51e961735f40e5b6c8 (patch) | |
tree | 48dd8039040943c781b8c9e984ece042dc1faf5d /kernel | |
parent | kcsan: Use GFP_ATOMIC under spin lock (diff) | |
download | linux-5099a722e9727fe9a93fac51e961735f40e5b6c8.tar.xz linux-5099a722e9727fe9a93fac51e961735f40e5b6c8.zip |
checkpatch: Warn about data_race() without comment
Warn about applications of data_race() without a comment, to encourage
documenting the reasoning behind why it was deemed safe.
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions