Skip to content

Commit

Permalink
checkpatch: Don't spell check Fixes tag.
Browse files Browse the repository at this point in the history
Fixes tag quotes another commit that might fail in a spell check. Don't
fail it.

Signed-off-by: Eli Britstein <[email protected]>
Acked-by: Roi Dayan <[email protected]>
Acked-by: Eelco Chaudron <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
  • Loading branch information
elibritstein authored and Simon Horman committed Nov 3, 2023
1 parent fdbf0bb commit bf843fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utilities/checkpatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,9 @@ def check_spelling(line, comment):
if not spell_check_dict or not spellcheck:
return False

if line.startswith('Fixes: '):
return False

words = filter_comments(line, True) if comment else line
words = words.replace(':', ' ').split(' ')

Expand Down

0 comments on commit bf843fd

Please sign in to comment.