[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZvFtHM5465aOYX24@rhfedora>
Date: Mon, 23 Sep 2024 09:29:00 -0400
From: "John B. Wyatt IV" <jwyatt@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Guenter Roeck <linux@...ck-us.net>,
Shuah Khan <skhan@...uxfoundation.org>, linux-pm@...r.kernel.org,
Thomas Renninger <trenn@...e.com>, Shuah Khan <shuah@...nel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
linux-kernel@...r.kernel.org, John Kacur <jkacur@...hat.com>,
Tomas Glozar <tglozar@...hat.com>, Arnaldo Melo <acme@...hat.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"John B. Wyatt IV" <sageofredondo@...il.com>
Subject: Re: [PATCH v3 2/4] pm:cpupower: Add SWIG bindings files for
libcpupower
On Sun, Sep 22, 2024 at 08:39:28AM -0700, Linus Torvalds wrote:
> On Sat, 21 Sept 2024 at 14:23, Guenter Roeck <linux@...ck-us.net> wrote:
> >
> > On Wed, Sep 04, 2024 at 10:19:09PM -0400, John B. Wyatt IV wrote:
> > >
> > > .../bindings/python/raw_pylibcpupower.i | 247 ++++++++++++++++++
> >
> > This file is deleted when running "make mrproper".
>
> Yes, please don't create files called '*.i", "*.s" or "*.o". We
> assume they are generated files (the result of the preprocessor, the
> compiler, and the assembler respectively).
>
> And yeah, obviously "*.i" and "*.s" and not _usually_ seen, because
> they are only steps on the way to "*.o", so maybe they aren't _quite_
> as obvious as some "*.o" file would be, but they are very much
> standard naming, and we have build rules for them (ie "make
> kernel/exit.i" will create the pre-processed result of exit.c).
>
My apologies. This was reported and fixed with this patch by renaming
the file to '.swg'. '.swg' is the second filename extension used by
SWIG.
https://lore.kernel.org/linux-pm/20240913201705.7764-1-minhuadotchen@gmail.com/
--
Sincerely,
John Wyatt
Software Engineer, Core Kernel
Red Hat
Powered by blists - more mailing lists