checkpatch: define typedefsfile to deal with a few false positives
checkpatch expects typedefs to be suffixed with _t and has different rules when typedefs are being used as arguments of a function. This seems to be a known issue and defining typedefs in a file resolves this issue. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
6cdc8e90a1
commit
a8d259939b
|
@ -5,6 +5,7 @@
|
|||
--show-types
|
||||
--max-line-length=80
|
||||
--min-conf-desc-length=1
|
||||
--typedefsfile=scripts/checkpatch/typedefsfile
|
||||
|
||||
--ignore BRACES
|
||||
--ignore PRINTK_WITHOUT_KERN_LEVEL
|
||||
|
|
1
scripts/checkpatch/typedefsfile
Normal file
1
scripts/checkpatch/typedefsfile
Normal file
|
@ -0,0 +1 @@
|
|||
mbedtls_pk_context
|
Loading…
Reference in a new issue