Skip to content

Commit bd943a0

Browse files
etienne-lmscfriedt
authored andcommitted
checkpatch: ignore COMPARISON_TO_NULL
Ignore COMPARISON_TO_NULL since it conflicts with Zephyr coding guidelines main rule 85: The controlling expression of an if statement and the controlling expression of an iteration-statement shall have essentially Boolean type Link: https://docs.zephyrproject.org/latest/contribute/coding_guidelines Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent 5c7ce09 commit bd943a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.checkpatch.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@
2929
--ignore ENOSYS
3030
--ignore IS_ENABLED_CONFIG
3131
--ignore EXPORT_SYMBOL
32+
--ignore COMPARISON_TO_NULL

0 commit comments

Comments
 (0)