[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOkoqZ=18H6CAE8scCV7DWzu9sQDLJHUiVgZi3tmutUNPPE2=A@mail.gmail.com>
Date: Thu, 30 Dec 2021 12:54:07 -0800
From: Dimitris Michailidis <d.michailidis@...gible.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 8/8] net/fungible: Kconfig, Makefiles, and MAINTAINERS
On Thu, Dec 30, 2021 at 9:43 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Thu, 30 Dec 2021 08:39:09 -0800 Dimitris Michailidis wrote:
> > Hook up the new driver to configuration and build.
> >
> > Signed-off-by: Dimitris Michailidis <dmichail@...gible.com>
>
> New drivers must build cleanly with W=1 C=1. This one doesn't build at all:
>
> drivers/net/ethernet/fungible/funeth/funeth.h:10:10: fatal error: fun_dev.h: No such file or directory
> 10 | #include "fun_dev.h"
> | ^~~~~~~~~~~
Hmm, I don't get this error. What I run is
make W=1 C=1 drivers/net/ethernet/fungible/
and it goes through. Tried it also on net-next as of a few minutes ago.
Any ideas what may be different?
I do get a number of warnings because there are constants in one of
the headers defined
as 'static const' and they get flagged when a .c doesn't use them.
This looks like a tool
shortcoming to me. Do you want me to try to redo them as defines or enum?
Powered by blists - more mailing lists