Skip to content

Commit e8b8a65

Browse files
author
Robert Baldyga
committed
checkpatch: Silence undesired warnings
Silence "WARNING: Prefer 'unsigned int' to bare use of 'unsigned'". OCF uses that convention for a long time and it would require change in many places to enforce the one suggested by checkpatch.pl. Silence "WARNING: do not add new typedefs". Typedefs are extensively used in OCF. Silence attribute macros warning. It breaks compilation in pyOCF. Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
1 parent da066f6 commit e8b8a65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.checkpatch.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
--ignore PREFER_PR_LEVEL
88
--ignore SPDX_LICENSE_TAG
99
--ignore SPLIT_STRING
10+
--ignore UNSPECIFIED_INT
11+
--ignore NEW_TYPEDEFS
12+
--ignore PREFER_DEFINED_ATTRIBUTE_MACRO
1013

1114
--exclude .github
1215
--exclude doc

0 commit comments

Comments
 (0)