Update checkpatch configuration
Disable the following check which are not relevant for the project:
- UNNECESSARY_PARENTHESES: parentheses make reading if conditions
safer, so let's keep them.
- PREFER_DEFINED_ATTRIBUTE_MACRO: we prefer ACLE "standard" formats
instead of macros wrapping these
- BIT_MACRO: no BIT macro in the project
Change-Id: I9046915f4878b17b1c186e4e4f231d3a3dd9320d
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
diff --git a/.checkpatch b/.checkpatch
index 70887c3..3a62535 100644
--- a/.checkpatch
+++ b/.checkpatch
@@ -1,4 +1,4 @@
-# Copyright (c) 2021-2022, Arm Limited and contributors. All rights reserved.
+# Copyright (c) 2021-2023, Arm Limited and contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -9,7 +9,7 @@
# Please set CODESPELL_FILE in the environment.
--codespellfile="$CODESPELL_FILE"
--codespell
---ignore SPDX_LICENSE_TAG,PREFER_KERNEL_TYPES,USLEEP_RANGE,GERRIT_CHANGE_ID,FILE_PATH_CHANGES
+--ignore SPDX_LICENSE_TAG,PREFER_KERNEL_TYPES,USLEEP_RANGE,GERRIT_CHANGE_ID,FILE_PATH_CHANGES,UNNECESSARY_PARENTHESES,PREFER_DEFINED_ATTRIBUTE_MACRO,BIT_MACRO
--no-tree
--terse
--strict