Thread (16 messages) 16 messages, 3 authors, 2015-11-04

Re: [PATCH v3 net] i40e: Look up MAC address in Open Firmware or IDPROM

From: Andy Shevchenko <hidden>
Date: 2015-10-30 18:20:59
Also in: intel-wired-lan, lkml

On Fri, Oct 30, 2015 at 8:12 PM, Sowmini Varadhan
[off-list ref] wrote:
On (10/30/15 20:06), Andy Shevchenko wrote:
quoted
quoted
+#include "i40e.h"
Why do you need this one exactly?
I needed it to find pf->pdev below.
quoted
quoted
+       struct device_node *dp = pci_device_to_OF_node(pf->pdev);
Without it, you will get:
              :
     CC [M]  drivers/net/ethernet/intel/i40e/i40e_common.o
   drivers/net/ethernet/intel/i40e/i40e_common.c: In function ?i40e_get_platform_mac_addr?:
   drivers/net/ethernet/intel/i40e/i40e_common.c:1021: error: dereferencing pointer to incomplete type
OK
Unless you feel passionately about the \n nits, I'm going to pass on those.
Thanks for reviewing.
I'm okay, whatever maintainer now accepts.

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help