[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZcR-uS3AqD8ZNG0d@buildd.core.avm.de>
Date: Thu, 8 Feb 2024 08:11:53 +0100
From: Nicolas Schier <n.schier@....de>
To: William McVicker <willmcvicker@...gle.com>
Cc: Andy Whitcroft <apw@...onical.com>, Joe Perches <joe@...ches.com>,
Dwaipayan Ray <dwaipayanray1@...il.com>,
Lukas Bulwahn <lukas.bulwahn@...il.com>,
linux-kbuild@...r.kernel.org, kernel-team@...roid.com,
linux-kernel@...r.kernel.org, Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH v2] checkpatch: allow build files to reference other
build files
On Tue, Jan 30, 2024 at 02:19:23PM -0800, William McVicker wrote:
> On 01/29/2024, Nicolas Schier wrote:
> > On Fri, Jan 12, 2024 at 02:19:46PM -0800, Will McVicker wrote:
> > > Add an exception to the EMBEDDED_FILENAME warning for build files. This
> >
> > As far as I can see, your patch fixes only the checkpatch warnings for
> > top-level Makefile and Kconfig (and leaving out top-level Kbuild).
> > Other build files are not affected, right?
>
> Since $realfile includes the full path, I wasn't able to find a case where this
> issue happens outside of the top-level build files. The same goes for Kbuild
> files -- the top-level Kbuild file doesn't include other Kbuild files and the
> other Kbuild files don't include other Kbuild files within the same directory.
> If you prefer to protect against this warning in the future, I can include
> Kbuild as well if you want.
yes, I think it would be more complete if top-level Kbuild is also
included. Could you also mention 'top-level' somewhere in the commit
message?
Thanks and kind regards,
Nicolas
Powered by blists - more mailing lists