All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
To: unlisted-recipients:; (no To-header on input)
Cc: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH 10/14] media: v4l2-core: fix several typos
Date: Mon, 18 Feb 2019 14:29:04 -0500	[thread overview]
Message-ID: <d8fc5756adce67c2793e923b49d4727254da8f29.1550518128.git.mchehab+samsung@kernel.org> (raw)
In-Reply-To: <f235ba60b2b7e5fba09d3c6b0d5dbbd8a86ea9b9.1550518128.git.mchehab+samsung@kernel.org>

Use codespell to fix lots of typos over frontends.

Manually verified to avoid false-positives.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
 drivers/media/v4l2-core/v4l2-fwnode.c         | 16 ++++++++--------
 drivers/media/v4l2-core/v4l2-ioctl.c          |  2 +-
 drivers/media/v4l2-core/videobuf-core.c       |  2 +-
 drivers/media/v4l2-core/videobuf-dma-contig.c |  2 +-
 drivers/media/v4l2-core/videobuf-vmalloc.c    |  2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c b/drivers/media/v4l2-core/v4l2-fwnode.c
index 9bfedd7596a1..20571846e636 100644
--- a/drivers/media/v4l2-core/v4l2-fwnode.c
+++ b/drivers/media/v4l2-core/v4l2-fwnode.c
@@ -46,7 +46,7 @@ static const struct v4l2_fwnode_bus_conv {
 	enum v4l2_fwnode_bus_type fwnode_bus_type;
 	enum v4l2_mbus_type mbus_type;
 	const char *name;
-} busses[] = {
+} buses[] = {
 	{
 		V4L2_FWNODE_BUS_TYPE_GUESS,
 		V4L2_MBUS_UNKNOWN,
@@ -83,9 +83,9 @@ get_v4l2_fwnode_bus_conv_by_fwnode_bus(enum v4l2_fwnode_bus_type type)
 {
 	unsigned int i;
 
-	for (i = 0; i < ARRAY_SIZE(busses); i++)
-		if (busses[i].fwnode_bus_type == type)
-			return &busses[i];
+	for (i = 0; i < ARRAY_SIZE(buses); i++)
+		if (buses[i].fwnode_bus_type == type)
+			return &buses[i];
 
 	return NULL;
 }
@@ -113,9 +113,9 @@ get_v4l2_fwnode_bus_conv_by_mbus(enum v4l2_mbus_type type)
 {
 	unsigned int i;
 
-	for (i = 0; i < ARRAY_SIZE(busses); i++)
-		if (busses[i].mbus_type == type)
-			return &busses[i];
+	for (i = 0; i < ARRAY_SIZE(buses); i++)
+		if (buses[i].mbus_type == type)
+			return &buses[i];
 
 	return NULL;
 }
@@ -809,7 +809,7 @@ static int v4l2_fwnode_reference_parse(struct device *dev,
  * root node and the value of that property matching with the integer argument
  * of the reference, at the same index.
  *
- * The child fwnode reched at the end of the iteration is then returned to the
+ * The child fwnode reached at the end of the iteration is then returned to the
  * caller.
  *
  * The core reason for this is that you cannot refer to just any node in ACPI.
diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
index 206b7348797e..fbf4ce7b54eb 100644
--- a/drivers/media/v4l2-core/v4l2-ioctl.c
+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
@@ -88,7 +88,7 @@ const char *v4l2_norm_to_name(v4l2_std_id id)
 	int i;
 
 	/* HACK: ppc32 architecture doesn't have __ucmpdi2 function to handle
-	   64 bit comparations. So, on that architecture, with some gcc
+	   64 bit comparisons. So, on that architecture, with some gcc
 	   variants, compilation fails. Currently, the max value is 30bit wide.
 	 */
 	BUG_ON(myid != id);
diff --git a/drivers/media/v4l2-core/videobuf-core.c b/drivers/media/v4l2-core/videobuf-core.c
index d1bcfa91aaf8..5e3636615f5c 100644
--- a/drivers/media/v4l2-core/videobuf-core.c
+++ b/drivers/media/v4l2-core/videobuf-core.c
@@ -214,7 +214,7 @@ int videobuf_queue_is_busy(struct videobuf_queue *q)
 			return 1;
 		}
 		if (q->bufs[i]->state == VIDEOBUF_ACTIVE) {
-			dprintk(1, "busy: buffer #%d avtive\n", i);
+			dprintk(1, "busy: buffer #%d active\n", i);
 			return 1;
 		}
 	}
diff --git a/drivers/media/v4l2-core/videobuf-dma-contig.c b/drivers/media/v4l2-core/videobuf-dma-contig.c
index f46132504d88..e1bf50df4c70 100644
--- a/drivers/media/v4l2-core/videobuf-dma-contig.c
+++ b/drivers/media/v4l2-core/videobuf-dma-contig.c
@@ -248,7 +248,7 @@ static int __videobuf_iolock(struct videobuf_queue *q,
 
 		/* All handling should be done by __videobuf_mmap_mapper() */
 		if (!mem->vaddr) {
-			dev_err(q->dev, "memory is not alloced/mmapped.\n");
+			dev_err(q->dev, "memory is not allocated/mmapped.\n");
 			return -EINVAL;
 		}
 		break;
diff --git a/drivers/media/v4l2-core/videobuf-vmalloc.c b/drivers/media/v4l2-core/videobuf-vmalloc.c
index 293213ad9ef7..cb50f1957828 100644
--- a/drivers/media/v4l2-core/videobuf-vmalloc.c
+++ b/drivers/media/v4l2-core/videobuf-vmalloc.c
@@ -171,7 +171,7 @@ static int __videobuf_iolock(struct videobuf_queue *q,
 
 		/* All handling should be done by __videobuf_mmap_mapper() */
 		if (!mem->vaddr) {
-			printk(KERN_ERR "memory is not alloced/mmapped.\n");
+			printk(KERN_ERR "memory is not allocated/mmapped.\n");
 			return -EINVAL;
 		}
 		break;
-- 
2.20.1


  parent reply	other threads:[~2019-02-18 19:29 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 19:28 [PATCH 01/14] media: dvb-frontends: fix several typos Mauro Carvalho Chehab
2019-02-18 19:28 ` [PATCH 02/14] media: radio: " Mauro Carvalho Chehab
2019-02-18 19:28 ` [PATCH 03/14] media: dvb-core: " Mauro Carvalho Chehab
2019-02-18 19:28 ` [PATCH 04/14] media: i2c: " Mauro Carvalho Chehab
2019-02-18 21:39   ` Sakari Ailus
2019-02-18 19:28 ` [PATCH 05/14] media: pci: " Mauro Carvalho Chehab
2019-02-18 19:29 ` [PATCH 06/14] media: platform: " Mauro Carvalho Chehab
2019-02-18 19:29   ` Mauro Carvalho Chehab
2019-02-19 11:17   ` Niklas Söderlund
2019-02-19 11:17     ` Niklas Söderlund
     [not found]   ` <362e90167292e8d0c03a8d0753cc26b89549d854.1550518128.git.mchehab+samsung-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2019-02-19 12:17     ` Andrzej Pietrasiewicz
2019-02-19 12:17       ` Andrzej Pietrasiewicz
     [not found]       ` <8328b00f-d48f-187e-e53f-c52ac50b5b61-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2019-02-19 12:19         ` Andrzej Pietrasiewicz
2019-02-19 12:19           ` Andrzej Pietrasiewicz
2019-02-19 14:10     ` Benoit Parrot
2019-02-19 14:10       ` Benoit Parrot
2019-02-20  0:46     ` houlong wei
2019-02-20  0:46       ` houlong wei
2019-02-19 14:55   ` Kieran Bingham
2019-02-19 14:55     ` Kieran Bingham
2019-02-19 16:31   ` Lad, Prabhakar
2019-02-19 16:31     ` Lad, Prabhakar
2019-02-19 16:57   ` Philipp Zabel
2019-02-19 16:57     ` Philipp Zabel
2019-02-20  1:15   ` Yong
2019-02-20  1:15     ` Yong
2019-02-18 19:29 ` [PATCH 07/14] media: rc: " Mauro Carvalho Chehab
2019-02-19  9:56   ` Sean Young
2019-02-18 19:29 ` [PATCH 08/14] media: tuners: " Mauro Carvalho Chehab
2019-02-18 19:29 ` [PATCH 09/14] media: usb: " Mauro Carvalho Chehab
2019-02-18 19:29   ` [09/14] " Mauro Carvalho Chehab
2019-02-18 19:29 ` Mauro Carvalho Chehab [this message]
2019-02-18 19:29 ` [PATCH 11/14] media: common: " Mauro Carvalho Chehab
2019-02-18 19:29 ` [PATCH 12/14] media: include: " Mauro Carvalho Chehab
2019-02-18 19:29   ` Mauro Carvalho Chehab
2019-02-18 19:29   ` Mauro Carvalho Chehab
2019-02-19 16:28   ` Lad, Prabhakar
2019-02-19 16:28     ` Lad, Prabhakar
2019-02-19 16:28     ` Lad, Prabhakar
2019-02-18 19:29 ` [PATCH 13/14] media: Documentation: " Mauro Carvalho Chehab
2019-02-19 16:56   ` Philipp Zabel
2019-02-18 19:29 ` [PATCH 14/14] media: staging: " Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8fc5756adce67c2793e923b49d4727254da8f29.1550518128.git.mchehab+samsung@kernel.org \
    --to=mchehab+samsung@kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.