From: Colin Ian King Date: Wed, 18 Jan 2017 15:10:57 +0000 (-0200) Subject: [media] saa7164: "first image" should be "second image" in error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ca80fbcd4ce61686d863fb9aca1fa3d6a9276361;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] saa7164: "first image" should be "second image" in error message The error message when the second image is not available is incorrect, replace "first image" with "second image". Fixes CoverityScan CID#1077508 ("Copy-paste error") Signed-off-by: Colin Ian King Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/saa7164/saa7164-fw.c b/drivers/media/pci/saa7164/saa7164-fw.c index b47d53c5f1ae..4ba5eade7ce2 100644 --- a/drivers/media/pci/saa7164/saa7164-fw.c +++ b/drivers/media/pci/saa7164/saa7164-fw.c @@ -305,7 +305,7 @@ int saa7164_downloadfirmware(struct saa7164_dev *dev) break; } if (err_flags & SAA_DEVICE_NO_IMAGE) { - printk(KERN_ERR "%s() no first image\n", + printk(KERN_ERR "%s() no second image\n", __func__); break; }