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

From: David Miller
Date: Thu Nov 05 2015 - 13:31:39 EST

From: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at