Thread (38 messages) 38 messages, 4 authors, 2022-01-03

Re: [PATCH net-next 8/8] net/fungible: Kconfig, Makefiles, and MAINTAINERS

flat view

From: Dimitris Michailidis <hidden>
Date: 2021-12-30 21:16:31

On Thu, Dec 30, 2021 at 12:54 PM Dimitris Michailidis
[off-list ref] wrote:
On Thu, Dec 30, 2021 at 9:43 AM Jakub Kicinski [off-list ref] wrote:
quoted
On Thu, 30 Dec 2021 08:39:09 -0800 Dimitris Michailidis wrote:
quoted
Hook up the new driver to configuration and build.

Signed-off-by: Dimitris Michailidis <dmichail@fungible.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?
Never mind, I see what happened. One of the patches is bad and is not
adding the paths correctly.

Do let me know if I should address the header 'static const' warnings
from -Wunused-const-variable.
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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help