Thread (5 messages) flat view 5 messages, 2 authors, 2016-12-08

Re: [PATCH] net: axienet: Utilize of_get_mac_address()

From: Tobias Klauser <tklauser@distanz.ch>
Date: 2016-12-07 12:31:48

On 2016-12-07 at 13:25:28 +0100, Tobias Klauser [off-list ref] wrote:
Do not open code getting the MAC address exclusively from the
"local-mac-address" property, but instead use of_get_mac_address()
which looks up the MAC address using the 3 typical property names.

Also avoid casting away the const qualifier of the return value by
making axienet_set_mac_address() take a const void* address.

Follows commit b34296a9c047 ("net: ethoc: Utilize
of_get_mac_address()").

Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Sorry for the duplicate, please disregard this patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help