2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-30 22:05:19 +00:00

checkpatch: Don't spell check Fixes tag.

Fixes tag quotes another commit that might fail in a spell check. Don't
fail it.

Signed-off-by: Eli Britstein <elibr@nvidia.com>
Acked-by: Roi Dayan <roid@nvidia.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Simon Horman <horms@ovn.org>
This commit is contained in:
Eli Britstein
2023-11-02 14:59:41 +02:00
committed by Simon Horman
parent fdbf0bb2ae
commit bf843fd439

View File

@@ -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(' ')