From: Vivien Didelot <[email protected]> Date: Tue, 24 Oct 2017 16:37:19 -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 <[email protected]>
> Reviewed-by: Florian Fainelli <[email protected]>
Applied and queued up for -stable.
Thank you.

