]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: Warn about data_race() without comment
authorMarco Elver <elver@google.com>
Wed, 1 Apr 2020 10:17:14 +0000 (12:17 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 6 May 2020 17:54:58 +0000 (10:54 -0700)
commit4b39f2970c7fa703a3b0826d9a1262d600b9ed2b
tree48dd8039040943c781b8c9e984ece042dc1faf5d
parent78149c86ba3204c48a84afff88f05516e7fa229e
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>
scripts/checkpatch.pl