Messages in this thread | | | Date | Thu, 5 Nov 2015 21:32:57 +0200 | Subject | Re: [PATCH v6] i40e: Look up MAC address in Open Firmware or IDPROM | From | Andy Shevchenko <> |
| |
On Thu, Nov 5, 2015 at 8:31 PM, David Miller <davem@davemloft.net> wrote: > From: Andy Shevchenko <andy.shevchenko@gmail.com> > Date: Thu, 5 Nov 2015 20:13:21 +0200 > >> What about >> >> if (!addr) >> return -ENODATA; > > I totally disagree. of_get_phy_mode() and other similar attribute > probing mechanisms use -ENODEV.
Okay, then just if (!addr) return -ENODEV;
-- With Best Regards, Andy Shevchenko
| |