]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Fix an error handling path in bcm_sysport_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 15 May 2022 17:01:56 +0000 (19:01 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 17 May 2022 08:38:52 +0000 (10:38 +0200)
commit75c8819d5ce87e47ca92f6b708b38b76cf6d5b30
tree2b638bc53cba8a528512b763687d0f79e7f2661c
parentc71830063043f98231c6eddc891a6341346005f6
net: systemport: Fix an error handling path in bcm_sysport_probe()

if devm_clk_get_optional() fails, we still need to go through the error
handling path.

Add the missing goto.

Fixes: df471ea5a0b2e ("net: systemport: Manage Wake-on-LAN clock")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/99d70634a81c229885ae9e4ee69b2035749f7edc.1652634040.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/broadcom/bcmsysport.c