mirror of
https://github.com/qca/qca-swiss-army-knife.git
synced 2026-01-27 17:07:18 +01:00
ath12k-check: ignore long line comment warnings for copyrights
Filter the warnings about copyright statements exceeding the max line length. Since the global tool won't associate these with a symbol name, filter on the literal "Copyright (c)" itself. Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
This commit is contained in:
parent
7a1463a442
commit
4883953301
1 changed files with 4 additions and 0 deletions
|
|
@ -65,6 +65,10 @@ checkpatch_filter = [
|
|||
# ATH12K_QMI_MAX_CHUNK_SIZE
|
||||
('ATH12K_QMI_MAX_CHUNK_SIZE', 'LONG_LINE'),
|
||||
|
||||
# allow long line copyrights
|
||||
# note gtags returns None so search for the literal string
|
||||
('Copyright \(c\)', 'LONG_LINE'),
|
||||
|
||||
# trace.h has warnings which don't make sense to fix
|
||||
('TRACE_SYSTEM', 'OPEN_ENDED_LINE'),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue