From: Sowmini Varadhan Date: Fri, 30 Oct 2015 14:12:54 -0400 Subject: [Intel-wired-lan] [PATCH v3 net] i40e: Look up MAC address in Open Firmware or IDPROM In-Reply-To: References: <20151030150344.GG9312@oracle.com> Message-ID: <20151030181254.GC32759@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On (10/30/15 20:06), Andy Shevchenko wrote: > > > +#include "i40e.h" > > Why do you need this one exactly? I needed it to find pf->pdev below. > > + 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 Unless you feel passionately about the \n nits, I'm going to pass on those. Thanks for reviewing. --Sowmini