Thread (18 messages) 18 messages, 5 authors, 2019-05-03

Re: [PATCH v3 08/10] staging: octeon-ethernet: support of_get_mac_address new ERR_PTR error

From: Dan Carpenter <hidden>
Date: 2019-05-03 19:40:55
Also in: linux-devicetree, lkml

On Fri, May 03, 2019 at 09:07:30PM +0200, Petr Štetiar wrote:
Dan Carpenter [off-list ref] [2019-05-03 13:34:56]:

Hi,
quoted
On Fri, May 03, 2019 at 09:56:05AM +0200, Petr Štetiar wrote:
quoted
There was NVMEM support added to of_get_mac_address, so it could now
return NULL and ERR_PTR encoded error values, so we need to adjust all
current users of of_get_mac_address to this new fact.
Which commit added NVMEM support?  It hasn't hit net-next or linux-next
yet...  Very strange.
this patch is a part of the patch series[1], where the 1st patch[2] adds this
NVMEM support to of_get_mac_address and follow-up patches are adjusting
current of_get_mac_address users to the new ERR_PTR return value.
Basically all the patches need to be folded together otherwise you're
breaking git bisectibility.  Imagine that we just apply patch #1 right?
Then all the callers will be broken.  It's not allowed.

regards,
dan carpenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help