On Thu, Dec 30, 2021 at 9:43 AM Jakub Kicinski [off-list ref] wrote:
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?
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?