aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorAdam Ford <[email protected]>2021-08-26 14:17:21 +0000
committerStephen Boyd <[email protected]>2021-08-29 04:29:36 +0000
commit1669a941f7c4844ae808cf441db51dde9e94db07 (patch)
treea08ffbbb636020403725341e2f6eb797512e9536 /lib/string.c
parentclk: qcom: gdsc: Ensure regulator init state matches GDSC state (diff)
downloadkernel-1669a941f7c4844ae808cf441db51dde9e94db07.tar.gz
kernel-1669a941f7c4844ae808cf441db51dde9e94db07.zip
clk: renesas: rcar-usb2-clock-sel: Fix kernel NULL pointer dereference
The probe was manually passing NULL instead of dev to devm_clk_hw_register. This caused a Unable to handle kernel NULL pointer dereference error. Fix this by passing 'dev'. Signed-off-by: Adam Ford <[email protected]> Fixes: a20a40a8bbc2 ("clk: renesas: rcar-usb2-clock-sel: Fix error handling in .probe()") Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions