From 3323fe1d76a6f7a40b8056e098e4b481afb047a1 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Fri, 8 Apr 2016 11:49:10 +0100 Subject: [PATCH 1/2] Fix list of paths to perform coding style check on Removed an extra parentheses that produced an invalid list of files and directories to check by checkpatch.pl. Change-Id: Iefe2c1f8be6e7b7b58f6ffe3e16fe6336b9a8689 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b2ca9168b..3a13a79a6 100644 --- a/Makefile +++ b/Makefile @@ -115,7 +115,7 @@ CHECKCODE_ARGS := --no-patch --no-tree --no-signoff ${CHECK_IGNORE} # Do not check the coding style on C library files INCLUDE_DIRS_TO_CHECK := $(sort $(filter-out include/stdlib, $(wildcard include/*))) LIB_DIRS_TO_CHECK := $(sort $(filter-out lib/stdlib, $(wildcard lib/*))) -ROOT_DIRS_TO_CHECK := $(sort $(filter-out lib include, $(wildcard *)))) +ROOT_DIRS_TO_CHECK := $(sort $(filter-out lib include, $(wildcard *))) CHECK_PATHS := ${ROOT_DIRS_TO_CHECK} ${INCLUDE_DIRS_TO_CHECK} ${LIB_DIRS_TO_CHECK} From 8f524c2232c749bc3dd19f30ffb0f75a2f42ea98 Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Fri, 8 Apr 2016 11:51:19 +0100 Subject: [PATCH 2/2] Remove markdown files from coding style check All markdown (.md) files in the root directory of the repository and all the files inside the 'docs' directory have been removed from ROOT_DIRS_TO_CHECK in the Makefile in order not to perform the coding style check on them. Change-Id: Iac397b44f95cbcdb9a52cc20bf69998c394ac00a --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3a13a79a6..4e55ba5df 100644 --- a/Makefile +++ b/Makefile @@ -112,10 +112,10 @@ CHECK_IGNORE := --ignore COMPLEX_MACRO \ --ignore GIT_COMMIT_ID CHECKPATCH_ARGS := --no-tree --no-signoff ${CHECK_IGNORE} CHECKCODE_ARGS := --no-patch --no-tree --no-signoff ${CHECK_IGNORE} -# Do not check the coding style on C library files +# Do not check the coding style on C library files or documentation files INCLUDE_DIRS_TO_CHECK := $(sort $(filter-out include/stdlib, $(wildcard include/*))) LIB_DIRS_TO_CHECK := $(sort $(filter-out lib/stdlib, $(wildcard lib/*))) -ROOT_DIRS_TO_CHECK := $(sort $(filter-out lib include, $(wildcard *))) +ROOT_DIRS_TO_CHECK := $(sort $(filter-out lib include docs %.md, $(wildcard *))) CHECK_PATHS := ${ROOT_DIRS_TO_CHECK} ${INCLUDE_DIRS_TO_CHECK} ${LIB_DIRS_TO_CHECK}