Skip to contentSkip to conversation

media: zoran: fix spelling mistake and make error message more meaningful

PATCH In review Colin King 2 participants 2 messages Oct 2, 2020 – Oct 5, 2020

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 media: zoran: fix spelling mistake and make error message more meaningful

From: Colin Ian King <[email protected]>

There is a spelling mistake in a pci_err error message. Fix this and make the error message a little more meaningful.

---
 drivers/staging/media/zoran/zoran_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/zoran/zoran_driver.c +1 -1
index 808196ea5b81..d9f8b21edf6a 100644
@@ -666,7 +666,7 @@ static int zoran_g_selection(struct file *file, void *__fh, struct v4l2_selectio
 
 	if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT &&
 	    sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
-		pci_err(zr->pci_dev, "%s invalid combinaison\n", __func__);
+		pci_err(zr->pci_dev, "%s invalid selection type combination\n", __func__);
 		return -EINVAL;
 	}
 
Signature · 1 line
2.27.0
Acked-by on v1 1/1
#1 lore raw
Quoted 26 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in a pci_err error message. Fix this and make the error message a little more meaningful.

---
 drivers/staging/media/zoran/zoran_driver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/zoran/zoran_driver.c +1 -1
index 808196ea5b81..d9f8b21edf6a 100644
@@ -666,7 +666,7 @@ static int zoran_g_selection(struct file *file, void *__fh, struct v4l2_selectio
 
 	if (sel->type != V4L2_BUF_TYPE_VIDEO_OUTPUT &&
 	    sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
-		pci_err(zr->pci_dev, "%s invalid combinaison\n", __func__);
+		pci_err(zr->pci_dev, "%s invalid selection type combination\n", __func__);
 		return -EINVAL;
 	}
 
Signature · 1 line
2.27.0

Hello

Thanks