Build Error in Linux-next, intel ethernet driver

2 messages, 2 authors, 2014-08-05 · open the first message on its own page

Build Error in Linux-next, intel ethernet driver

From: Jeff Kirsher <hidden>
Date: 2014-08-05 22:54:50

On Tue, 2014-08-05 at 19:37 -0300, Lucas Tanure wrote:
Thanks for reviewing my patch. My .config was bigger than 40k ( max
attachment size for kernelnewbies list).
First thing I noticed was that your config was missing CONFIG_I40E_DCB=y
option.  So it appears that some of the recent FCoE code that was added
to the i40e driver needs to be wrapped with #ifdef CONFIG_I40E_DCB.

Can you provide the error that you are receiving, without your patch
applied?  That will help me narrow down what code needs to be wrapped.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140805/52b23ae5/attachment-0001.bin 

Build Error in Linux-next, intel ethernet driver

From: Lucas Tanure <hidden>
Date: 2014-08-05 22:57:37

of course

drivers/net/ethernet/intel/i40e/i40e_fcoe.c: In function ?i40e_get_fcoe_tc_map?:
drivers/net/ethernet/intel/i40e/i40e_fcoe.c:354:23: error:
?IEEE_8021QAZ_APP_SEL_ETHERTYPE? undeclared (first use in this
function)
   if (app.selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE &&
                       ^
drivers/net/ethernet/intel/i40e/i40e_fcoe.c:354:23: note: each
undeclared identifier is reported only once for each function it
appears in
scripts/Makefile.build:257: recipe for target
'drivers/net/ethernet/intel/i40e/i40e_fcoe.o' failed
make[5]: *** [drivers/net/ethernet/intel/i40e/i40e_fcoe.o] Error 1
scripts/Makefile.build:404: recipe for target
'drivers/net/ethernet/intel/i40e' failed
make[4]: *** [drivers/net/ethernet/intel/i40e] Error 2
scripts/Makefile.build:404: recipe for target
'drivers/net/ethernet/intel' failed
make[3]: *** [drivers/net/ethernet/intel] Error 2
make[3]: *** Waiting for unfinished jobs....

Thanks
--
Lucas Tanure
+55 (19) 988176559


On Tue, Aug 5, 2014 at 7:54 PM, Jeff Kirsher
[off-list ref] wrote:
On Tue, 2014-08-05 at 19:37 -0300, Lucas Tanure wrote:
quoted
Thanks for reviewing my patch. My .config was bigger than 40k ( max
attachment size for kernelnewbies list).
First thing I noticed was that your config was missing CONFIG_I40E_DCB=y
option.  So it appears that some of the recent FCoE code that was added
to the i40e driver needs to be wrapped with #ifdef CONFIG_I40E_DCB.

Can you provide the error that you are receiving, without your patch
applied?  That will help me narrow down what code needs to be wrapped.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help