aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/qcom-apcs-ipc-mailbox.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2020-04-29 09:35:03 +0000
committerJassi Brar <[email protected]>2020-05-30 23:08:40 +0000
commit445aeeb569f8d7904f8cf80b7c6826bb651ef80e (patch)
treeb0f527f998c37a5da0afe3841ffa7301874319cf /drivers/mailbox/qcom-apcs-ipc-mailbox.c
parentmailbox: imx-mailbox: fix scu msg header size check (diff)
downloadkernel-445aeeb569f8d7904f8cf80b7c6826bb651ef80e.tar.gz
kernel-445aeeb569f8d7904f8cf80b7c6826bb651ef80e.zip
mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). So we should check whether the return value of devm_ioremap() is NULL instead of IS_ERR. Fixes: 4981b82ba2ff ("mailbox: ZynqMP IPI mailbox controller") Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/mailbox/qcom-apcs-ipc-mailbox.c')
0 files changed, 0 insertions, 0 deletions