From: Vivien Didelot <vivien.dide...@savoirfairelinux.com> 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 <vivien.dide...@savoirfairelinux.com> > Reviewed-by: Florian Fainelli <f.faine...@gmail.com> Applied and queued up for -stable. Thank you.