linux/drivers/mailbox
Peng Fan 9d8ca628c0 mailbox: imx-mailbox: fix scu msg header size check
The i.MX8 SCU message header size is the number of "u32" elements,
not "u8", so fix the check.

Reported-by: coverity-bot <keescook+coverity-bot@chromium.org>
Addresses-Coverity-ID: 1461658 ("Memory - corruptions")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
2020-05-30 18:07:07 -05:00
..
arm_mhu.c mailbox: arm_mhu: reorder header inclusion and drop unneeded ones 2019-07-10 23:08:43 -05:00
armada-37xx-rwtm-mailbox.c mailbox:armada-37xx-rwtm:remove duplicate print in armada_37xx_mbox_probe() 2020-03-19 23:00:32 -05:00
bcm2835-mailbox.c
bcm-flexrm-mailbox.c maillbox: bcm-flexrm-mailbox: handle cmpl_pool dma allocation failure 2020-03-19 23:00:32 -05:00
bcm-pdc-mailbox.c mailbox: bcm-pdc: Use scnprintf() for avoiding potential buffer overflow 2020-03-19 23:00:32 -05:00
hi3660-mailbox.c
hi6220-mailbox.c mailbox: no need to set .owner platform_driver_register 2019-11-26 22:45:15 -06:00
imx-mailbox.c mailbox: imx-mailbox: fix scu msg header size check 2020-05-30 18:07:07 -05:00
Kconfig mailbox: sprd: Add Spreadtrum mailbox driver 2020-05-30 18:05:33 -05:00
mailbox-altera.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
mailbox-sti.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mailbox-test.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mailbox-xgene-slimpro.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
mailbox.c mailbox: handle failed named mailbox channel request 2019-07-11 10:19:00 -05:00
mailbox.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
Makefile mailbox: sprd: Add Spreadtrum mailbox driver 2020-05-30 18:05:33 -05:00
mtk-cmdq-mailbox.c mailbox: mediatek: remove implementation related to atomic_exec 2020-03-19 23:00:32 -05:00
omap-mailbox.c mailbox/omap: Handle if CONFIG_PM is disabled 2019-11-26 22:44:53 -06:00
pcc.c mailbox: pcc: make pcc_mbox_driver static 2020-05-30 16:06:22 -05:00
pl320-ipc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
platform_mhu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
qcom-apcs-ipc-mailbox.c mailbox: qcom-apcs: fix max_register value 2019-09-17 00:54:29 -05:00
rockchip-mailbox.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
sprd-mailbox.c mailbox: sprd: Add Spreadtrum mailbox driver 2020-05-30 18:05:33 -05:00
stm32-ipcc.c mailbox: stm32-ipcc: Update wakeup management 2019-11-30 23:08:59 -06:00
sun6i-msgbox.c mailbox: sun6i-msgbox: Add a new mailbox driver 2020-03-19 23:00:32 -05:00
tegra-hsp.c mailbox: tegra: Fix superfluous IRQ error message 2019-11-12 15:09:19 +01:00
ti-msgmgr.c mailbox: ti-msgmgr: Use device-managed registration API 2018-12-21 16:49:26 -06:00
zynqmp-ipi-mailbox.c mailbox: ZynqMP IPI: Delete an error message in zynqmp_ipi_probe() 2020-05-30 18:02:17 -05:00