-
由 Houlong Wei 提交于
The patch 623a6143("mailbox: mediatek: Add Mediatek CMDQ driver") introduce the following static checker warning: drivers/mailbox/mtk-cmdq-mailbox.c:366 cmdq_mbox_send_data() error: potential null dereference 'task'. (kzalloc returns null) Fixes: 623a6143 ("mailbox: mediatek: Add Mediatek CMDQ driver") Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NHoulong Wei <houlong.wei@mediatek.com> Reviewed-by: NPhilipp Zabel <p.zabel@pengutronix.de> Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
9f0a0a38