diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2018-03-01 08:29:09 +0100 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-03-01 10:41:08 +0100 |
commit | 660fcc535bdda3e4670bcffafe64d62c161c05eb (patch) | |
tree | 1963e9e95866217361c73dbffc941e2f4c6bfb44 /scripts | |
parent | 3889635b3122e02467aaf0d0ca083c9b7255475b (diff) |
checkpatch_inc.sh: exclude files with inline assembly
checkpatch.pl produces false errors when given files with inline
assembly [1]. It is best to skip those files entirely.
Link: [1] https://travis-ci.org/OP-TEE/optee_os/builds/347435939#L2115
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/checkpatch_inc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/checkpatch_inc.sh b/scripts/checkpatch_inc.sh index 2555bf42..fd0afb20 100644 --- a/scripts/checkpatch_inc.sh +++ b/scripts/checkpatch_inc.sh @@ -4,6 +4,7 @@ CHECKPATCH="${CHECKPATCH:-checkpatch.pl}" # checkpatch.pl will ignore the following paths CHECKPATCH_IGNORE=$(echo core/lib/lib{fdt,tomcrypt} core/lib/zlib \ lib/lib{png,utils,zlib} \ + core/arch/arm/include/arm{32,64}.h \ core/arch/arm/plat-ti/api_monitor_index_a{9,15}.h) _CP_EXCL=$(for p in $CHECKPATCH_IGNORE; do echo ":(exclude)$p" ; done) |