summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYuanjun Gong <ruc_gongyuanjun@163.com>2023-07-26 20:05:06 +0300
committerJakub Kicinski <kuba@kernel.org>2023-07-28 06:02:54 +0300
commitdadc5b86cc9459581f37fe755b431adc399ea393 (patch)
treea3ff846cf0724f62b6635c2e44688183af288c5a /scripts/gdb/linux/utils.py
parent4d50e50045aa46d9f3e578ed2edea9bd0a123d24 (diff)
downloadlinux-dadc5b86cc9459581f37fe755b431adc399ea393.tar.xz
net: dsa: fix value check in bcm_sf2_sw_probe()
in bcm_sf2_sw_probe(), check the return value of clk_prepare_enable() and return the error code if clk_prepare_enable() returns an unexpected value. Fixes: e9ec5c3bd238 ("net: dsa: bcm_sf2: request and handle clocks") Signed-off-by: Yuanjun Gong <ruc_gongyuanjun@163.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20230726170506.16547-1-ruc_gongyuanjun@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions