summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/remoteproc_debugfs.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-09-18 18:24:28 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-09-26 07:33:23 +0300
commit434ac4d51407ce3764a6ae96a89d90b8ae2826fb (patch)
treeb4335fd02738a299f3655c5570f7f48f5833b77e /drivers/remoteproc/remoteproc_debugfs.c
parentcb2d8d5b196c2e96e29343383c8c8d8db68b934e (diff)
downloadlinux-434ac4d51407ce3764a6ae96a89d90b8ae2826fb.tar.xz
remoteproc/mediatek: fix null pointer dereference on null scp pointer
Currently when pointer scp is null a dev_err is being called that references the pointer which is the very thing we are trying to avoid doing. Remove the extraneous error message to avoid this issue. Addresses-Coverity: ("Dereference after null check") Fixes: 63c13d61eafe ("remoteproc/mediatek: add SCP support for mt8183") Signed-off-by: Colin Ian King <colin.king@canonical.com> Link: https://lore.kernel.org/r/20200918152428.27258-1-colin.king@canonical.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/remoteproc_debugfs.c')
0 files changed, 0 insertions, 0 deletions