[PATCH] powerpc/tools: Remove 90 line limit in checkpatch script

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2152d LANDED

Landed in mainline as 0fb4871bcc89 on 2020-09-08.

2 messages, 2 authors, 2020-09-09 · open the first message on its own page

[PATCH] powerpc/tools: Remove 90 line limit in checkpatch script

From: Russell Currey <hidden>
Date: 2020-08-28 02:07:59

As of commit bdc48fa11e46, scripts/checkpatch.pl now has a default line
length warning of 100 characters.  The powerpc wrapper script was using
a length of 90 instead of 80 in order to make checkpatch less
restrictive, but now it's making it more restrictive instead.

I think it makes sense to just use the default value now.

Signed-off-by: Russell Currey <redacted>
---
 arch/powerpc/tools/checkpatch.sh | 1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/tools/checkpatch.sh b/arch/powerpc/tools/checkpatch.sh
index 3ce5c093b19d..91c04802ec31 100755
--- a/arch/powerpc/tools/checkpatch.sh
+++ b/arch/powerpc/tools/checkpatch.sh
@@ -9,7 +9,6 @@ script_base=$(realpath $(dirname $0))
 exec $script_base/../../../scripts/checkpatch.pl \
 	--subjective \
 	--no-summary \
-	--max-line-length=90 \
 	--show-types \
 	--ignore ARCH_INCLUDE_LINUX \
 	--ignore BIT_MACRO \
-- 
2.28.0

Re: [PATCH] powerpc/tools: Remove 90 line limit in checkpatch script

From: Michael Ellerman <hidden>
Date: 2020-09-09 15:02:01

On Fri, 28 Aug 2020 12:05:42 +1000, Russell Currey wrote:
As of commit bdc48fa11e46, scripts/checkpatch.pl now has a default line
length warning of 100 characters.  The powerpc wrapper script was using
a length of 90 instead of 80 in order to make checkpatch less
restrictive, but now it's making it more restrictive instead.

I think it makes sense to just use the default value now.
Applied to powerpc/next.

[1/1] powerpc/tools: Remove 90 line limit in checkpatch script
      https://git.kernel.org/powerpc/c/0fb4871bcc8997acbb8edf14b301fc150101d6c0

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help