aboutsummaryrefslogtreecommitdiff
path: root/.checkpatch.conf
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2020-06-10 09:41:39 +0300
committerPetri Savolainen <petri.savolainen@nokia.com>2020-06-11 11:11:43 +0300
commit79ffd86ff506063bbafd6d8c21888832ac882f62 (patch)
treed912c940b4cbeadcb406530f148f350de1a9e7f8 /.checkpatch.conf
parentc5a3bcf5dae0357c9a8c496e0f73282aacf4dbce (diff)
checkpatch: ignore PREFER_FALLTHROUGH warnings
Ignore prefer 'fallthrough;' over fallthrough comment warning. 'fallthrough' is defined by a kernel header. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to '.checkpatch.conf')
-rw-r--r--.checkpatch.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/.checkpatch.conf b/.checkpatch.conf
index d7991d39d..d361fe923 100644
--- a/.checkpatch.conf
+++ b/.checkpatch.conf
@@ -16,5 +16,6 @@
--ignore=BLOCK_COMMENT_STYLE
--ignore=UNNECESSARY_PARENTHESES
--ignore=SPDX_LICENSE_TAG
+--ignore=PREFER_FALLTHROUGH
--codespell
--codespellfile=/usr/share/codespell/dictionary.txt