Re: [PATCH net-next] net: dsa: check master device before put
From: David Miller
Date: Tue Oct 24 2017 - 05:43:30 EST
From: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Oct 2017 14:01:41 -0400
> In the case of pdata, the dsa_cpu_parse function calls dev_put() before
> making sure it isn't NULL. Fix this.
>
> Fixes: 71e0bbde0d88 ("net: dsa: Add support for platform data")
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Please submit a 'net' version of this patch and then please patiently
wait for it to be properly merged and propagated into 'net-next'.
Thank you.