lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 17 Jul 2014 08:52:01 -0700
From:	Joe Perches <>
To:	Andrew Morton <>
Cc:	Andy Whitcroft <>,
	Hartley Sweeten <>,
Subject: [PATCH 1/3] checkpatch: Add short int to c variable types

short int is one of the 6.7.2 c90 types.
Find it appropriately.

This fixes a defect in checkpatch where it suggests that a
line break after declaration is required using an input like:

	int foo;
	short int bar;

Without this change, it warns on the short int line.

Reported-by: Hartley Sweeten <>
Signed-off-by: Joe Perches <>
 scripts/ | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/ b/scripts/
index f3d9a88..d81e4ab 100755
--- a/scripts/
+++ b/scripts/
@@ -356,6 +356,7 @@ our $signature_tags = qr{(?xi:
 our @typeList = (
+	qr{(?:unsigned\s+)?short\s+int},

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists