Re: [PATCH] of_net: fix of_get_mac_address retval if compiled without CONFIG_OF

2019-05-20 Thread Sergei Shtylyov
Hello! On 19.05.2019 15:18, Petr Štetiar wrote: of_get_mac_address prior to commit d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") could return only valid pointer or NULL, after this change it could return only valid pointer or ERR_PTR encoded error value, but I've forget to

Re: [PATCH] of_net: fix of_get_mac_address retval if compiled without CONFIG_OF

2019-05-19 Thread Andrew Lunn
On Sun, May 19, 2019 at 02:18:44PM +0200, Petr Štetiar wrote: > of_get_mac_address prior to commit d01f449c008a ("of_net: add NVMEM > support to of_get_mac_address") could return only valid pointer or NULL, > after this change it could return only valid pointer or ERR_PTR encoded > error value,

Re: [PATCH] of_net: fix of_get_mac_address retval if compiled without CONFIG_OF

2019-05-19 Thread David Miller
From: Petr Štetiar Date: Sun, 19 May 2019 14:18:44 +0200 > of_get_mac_address prior to commit d01f449c008a ("of_net: add NVMEM > support to of_get_mac_address") could return only valid pointer or NULL, > after this change it could return only valid pointer or ERR_PTR encoded > error value, but

[PATCH] of_net: fix of_get_mac_address retval if compiled without CONFIG_OF

2019-05-19 Thread Petr Štetiar
of_get_mac_address prior to commit d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") could return only valid pointer or NULL, after this change it could return only valid pointer or ERR_PTR encoded error value, but I've forget to change the return value of of_get_mac_address in case