Re: [PATCH] of_net: Fix missing of_find_device_by_node ref count drop

From: Andrew Lunn
Date: Mon May 13 2019 - 08:56:59 EST


On Mon, May 13, 2019 at 11:41:39AM +0200, Petr Åtetiar wrote:
> of_find_device_by_node takes a reference to the embedded struct device
> which needs to be dropped after use.
>
> Fixes: d01f449c008a ("of_net: add NVMEM support to of_get_mac_address")
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Reported-by: Julia Lawall <julia.lawall@xxxxxxx>
> Signed-off-by: Petr Åtetiar <ynezz@xxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew