[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20170118151057.16325-1-colin.king@canonical.com>
Date: Wed, 18 Jan 2017 15:10:57 +0000
From: Colin King <colin.king@...onical.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Alexey Dobriyan <adobriyan@...il.com>,
linux-media@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] [media] saa7164: "first image" should be "second image" in error message
From: Colin Ian King <colin.king@...onical.com>
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@...onical.com>
---
drivers/media/pci/saa7164/saa7164-fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/pci/saa7164/saa7164-fw.c b/drivers/media/pci/saa7164/saa7164-fw.c
index 7f077a8..c384a94 100644
--- a/drivers/media/pci/saa7164/saa7164-fw.c
+++ b/drivers/media/pci/saa7164/saa7164-fw.c
@@ -309,7 +309,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;
}
--
2.10.2
Powered by blists - more mailing lists