[media] saa7164: "first image" should be "second image" in error message
authorColin Ian King <colin.king@canonical.com>
Wed, 18 Jan 2017 15:10:57 +0000 (13:10 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 13:19:07 +0000 (11:19 -0200)
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 <colin.king@canonical.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/saa7164/saa7164-fw.c

index b47d53c..4ba5ead 100644 (file)
@@ -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;
                                }