mirror of
https://github.com/libfuse/libfuse.git
synced 2026-07-07 14:47:41 +08:00
checkpatch: Disable LINE_SPACING
I disagree with this style annotation - just takes another line without gaining much. WARNING:LINE_SPACING: Missing a blank line after declarations + int ret = access_executable(test_path); + if (ret == 0) Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
This commit is contained in:
@@ -10,6 +10,6 @@ IGNORES="MAINTAINERS,SPDX_LICENSE_TAG,COMMIT_MESSAGE,FILE_PATH_CHANGES"
|
||||
IGNORES="${IGNORES},EMAIL_SUBJECT,AVOID_EXTERNS,GIT_COMMIT_ID,ENOSYS_SYSCALL"
|
||||
IGNORES="${IGNORES},ENOSYS,FROM_SIGN_OFF_MISMATCH,QUOTED_COMMIT_ID,"
|
||||
IGNORES="${IGNORES},PREFER_ATTRIBUTE_ALWAYS_UNUSED,PREFER_DEFINED_ATTRIBUTE_MACRO"
|
||||
IGNORES="${IGNORES},STRCPY,STRNCPY,COMPLEX_MACRO"
|
||||
IGNORES="${IGNORES},STRCPY,STRNCPY,COMPLEX_MACRO,LINE_SPACING"
|
||||
|
||||
./checkpatch.pl --show-types --max-line-length=100 --no-tree --ignore ${IGNORES} -g $commit
|
||||
|
||||
Reference in New Issue
Block a user