From: Joe Perches <joe@perches.com>
To: Alexander Potapenko <glider@google.com>,
apw@canonical.com, dwaipayanray1@gmail.com,
Lukas Bulwahn <lukas.bulwahn@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Infinite loop in checkpatch.pl
Date: Fri, 03 Mar 2023 08:52:57 -0800 [thread overview]
Message-ID: <e1be073e8e53da8dcdd9e37ffc6e60d1375c59bb.camel@perches.com> (raw)
In-Reply-To: <CAG_fn=WZnBtRujLyhouz1AmerSKB71oPej442JDOw2OaORbWQg@mail.gmail.com>
On Fri, 2023-03-03 at 15:28 +0100, Alexander Potapenko wrote:
> Hi folks,
>
> I've noticed that checkpatch.pl chokes on the following file (also attached):
>
> ==================================
> $ cat test-checkpatch.txt
> diff --git a/mm/kmsan/kmsan_test.c b/mm/kmsan/kmsan_test.c
> @@ -504,6 +504,25 @@ static void
> test_memcpy_aligned_to_unaligned2(struct kunit *test)
> + EXPECTATION_NO_REPORT(expect); \
> + volatile uint##size##_t uninit; \
checkpatch isn't a syntax complete c parser. Don't expect to be.
next prev parent reply other threads:[~2023-03-03 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 14:28 Alexander Potapenko
2023-03-03 16:52 ` Joe Perches [this message]
2023-03-03 20:53 ` Alexander Potapenko
2023-03-06 0:05 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e1be073e8e53da8dcdd9e37ffc6e60d1375c59bb.camel@perches.com \
--to=joe@perches.com \
--cc=apw@canonical.com \
--cc=dwaipayanray1@gmail.com \
--cc=glider@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lukas.bulwahn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®