[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161207123144.GB13408@distanz.ch>
Date: Wed, 7 Dec 2016 13:31:44 +0100
From: Tobias Klauser <tklauser@...tanz.ch>
To: netdev@...r.kernel.org
Cc: michal.simek@...inx.com, soren.brinkmann@...inx.com,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH] net: axienet: Utilize of_get_mac_address()
On 2016-12-07 at 13:25:28 +0100, Tobias Klauser <tklauser@...tanz.ch> 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@...il.com>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Sorry for the duplicate, please disregard this patch.
Powered by blists - more mailing lists