aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/bcm_sf2.c
diff options
context:
space:
mode:
authorKangjie Lu <kjlu@umn.edu>2018-12-25 20:57:14 -0600
committerDavid S. Miller <davem@davemloft.net>2018-12-27 16:20:44 -0800
commitf86a3b83833e7cfe558ca4d70b64ebc48903efec (patch)
tree35ac59cc154f9fe2b3ccb3cb47872e3681d0b484 /drivers/net/dsa/bcm_sf2.c
parentnet: (cpts) fix a missing check of clk_prepare (diff)
downloadlinux-dev-f86a3b83833e7cfe558ca4d70b64ebc48903efec.tar.xz
linux-dev-f86a3b83833e7cfe558ca4d70b64ebc48903efec.zip
net: stmicro: fix a missing check of clk_prepare
clk_prepare() could fail, so let's check its status, and if it fails, return its error code upstream. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions