[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <83fc36d8c87408298a4cd6d66b140b330f2c45b0.camel@perches.com>
Date: Fri, 31 Jul 2020 11:05:27 -0700
From: Joe Perches <joe@...ches.com>
To: Cambda Zhu <cambda@...ux.alibaba.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] checkpatch: skip macros when finding missing
switch/case break
On Wed, 2020-07-29 at 20:59 +0800, Cambda Zhu wrote:
> The checkpatch.pl only searches 3 previous lines when finding missing
> switch/case break, and macros are treated as normal statements. If the
> cases are surrounded with CONFIG, checkpatch.pl may report false
> warnings. For example:
Likely this test should be removed altogether as
it's never really worked well and now compilers
find this and emit warnings.
Powered by blists - more mailing lists