]> www.infradead.org Git - users/jedix/linux-maple.git/commit
checkpatch: really skip LONG_LINE_* when LONG_LINE is ignored
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 10 Jun 2024 15:02:09 +0000 (17:02 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 25 Jun 2024 05:25:09 +0000 (22:25 -0700)
commitd6bb39519aafed9800213db064104dd29699b939
tree1f7f9879569431ffaafff012eea6279dcb901310
parent68142cb628f75a22f12fde9f5c0c69dfc1bdcf47
checkpatch: really skip LONG_LINE_* when LONG_LINE is ignored

For a printout to happen, all types must be set to "show".  So, AND is
needed for the flags, not OR, if we want to ignore something.

Link: https://lkml.kernel.org/r/20240610150420.2279-2-wsa+renesas@sang-engineering.com
Fixes: 47e0c88b37a5 ("checkpatch: categorize some long line length checks")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Cc: Dwaipayan Ray <dwaipayanray1@gmail.com>
Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl