diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-06-10 09:41:39 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2020-06-11 11:11:43 +0300 |
commit | 79ffd86ff506063bbafd6d8c21888832ac882f62 (patch) | |
tree | d912c940b4cbeadcb406530f148f350de1a9e7f8 /.checkpatch.conf | |
parent | c5a3bcf5dae0357c9a8c496e0f73282aacf4dbce (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.conf | 1 |
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 |