summaryrefslogtreecommitdiff
path: root/LICENSES/deprecated
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2019-10-21 12:16:34 +0300
committerLee Jones <lee.jones@linaro.org>2019-11-11 11:45:03 +0300
commitb195e101580db390f50b0d587b7f66f241d2bc88 (patch)
tree35f5a044a7379036a0bd9dce890bad2125176620 /LICENSES/deprecated
parent99cd1059759833f83cc7e442fe2c3b0bd4dff399 (diff)
downloadlinux-b195e101580db390f50b0d587b7f66f241d2bc88.tar.xz
mfd: mfd-core: Protect against NULL call-back function pointer
If a child device calls mfd_cell_{en,dis}able() without an appropriate call-back being set, we are likely to encounter a panic. Avoid this by adding suitable checking. Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'LICENSES/deprecated')
0 files changed, 0 insertions, 0 deletions