checkpatch.pl getting stuck on a macro in mm/kmsan/kmsan_test.c
From: Lukas Bulwahn
Date: Wed Mar 06 2024 - 04:36:44 EST
Dear Joe,
while running checkpatch.pl -f on all files in the kernel repository
(v6.8-rc1) for some experiment, I noticed that checkpatch.pl got stuck
on mm/kmsan/kmsan_test.c, i.e., ./scripts/checkpatch.pl -f
mm/kmsan/kmsan_test.c never terminates.
I could already boil it down to checkpatch getting stuck on the macro
#define DEFINE_TEST_MEMSETXX(size), see lines 541 to 554 in
mm/kmsan/kmsan_test.c on v6.8-rc1.
I do not know if it is worth fixing, but certainly I was surprised
that reasonable code can put checkpatch into some stuck state.
Best regards,
Lukas