aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2018-07-30 07:07:03 +0000
committerEduardo Valentin <[email protected]>2018-08-01 09:56:12 -0700
commit84b64de597bcc26549a7cbfe2fa8022bbc142daa (patch)
treec2fb2c3d67b9a8d706df1ec87839baeb1473e373 /lib/string_helpers.c
parent542cdf4068049458e1411b120bd5a4bbe3ddc49a (diff)
thermal: armada: fix copy-paste error in armada_thermal_probe()
The return value from devm_kzalloc() is not checked correctly. The test is done against a wrong variable. Fix it. Fixes: e72f03ef2543 ("thermal: armada: use the resource managed registration helper alternative") Signed-off-by: Wei Yongjun <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions