[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VdGHGwemwfoGHrCE5qS+ucCs02vjJNKyZP5OpQaNmOEsg@mail.gmail.com>
Date: Fri, 30 Oct 2015 20:20:57 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Cc: intel-wired-lan@...ts.osuosl.org, netdev <netdev@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
jeffrey.t.kirsher@...el.com, jesse.brandeburg@...el.com,
shannon.nelson@...el.com, carolyn.wyborny@...el.com,
donald.c.skidmore@...el.com, matthew.vick@...el.com,
john.ronciak@...el.com, mitch.a.williams@...el.com
Subject: Re: [PATCH v3 net] i40e: Look up MAC address in Open Firmware or IDPROM
On Fri, Oct 30, 2015 at 8:12 PM, Sowmini Varadhan
<sowmini.varadhan@...cle.com> wrote:
> 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
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists