This is an automatic generated email to let you know that the following patch were queued:
Subject: [media] s5p-cec: Fix memory allocation failure check Author: Christophe JAILLET <christophe.jail...@wanadoo.fr> Date: Wed Aug 31 10:45:04 2016 -0300 It is likely that checking the result of the memory allocation just above is expected here. Signed-off-by: Christophe JAILLET <christophe.jail...@wanadoo.fr> Signed-off-by: Sylwester Nawrocki <s.nawro...@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> drivers/staging/media/s5p-cec/s5p_cec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/s5p-cec/s5p_cec.c b/drivers/staging/media/s5p-cec/s5p_cec.c index 77d9887801b8..1780a08b73c9 100644 --- a/drivers/staging/media/s5p-cec/s5p_cec.c +++ b/drivers/staging/media/s5p-cec/s5p_cec.c @@ -173,7 +173,7 @@ static int s5p_cec_probe(struct platform_device *pdev) int ret; cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); - if (!dev) + if (!cec) return -ENOMEM; cec->dev = dev; _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits