linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] [trivial] mei: Fix typo in client.c
@ 2013-11-23 15:36 Masanari Iida
  2013-11-23 15:36 ` [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c Masanari Iida
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Masanari Iida @ 2013-11-23 15:36 UTC (permalink / raw)
  To: trivial, linux-kernel, tomas.winkler; +Cc: rdunlap, Masanari Iida

Correct spelling typo in comments within mei/client.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/misc/mei/client.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c
index 87c96e4..3aa379f 100644
--- a/drivers/misc/mei/client.c
+++ b/drivers/misc/mei/client.c
@@ -263,10 +263,10 @@ struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
 	return NULL;
 }
 
-/** mei_cl_link: allocte host id in the host map
+/** mei_cl_link: allocate host id in the host map
  *
  * @cl - host client
- * @id - fixed host id or -1 for genereting one
+ * @id - fixed host id or -1 for generating one
  *
  * returns 0 on success
  *	-EINVAL on incorrect values
@@ -282,7 +282,7 @@ int mei_cl_link(struct mei_cl *cl, int id)
 
 	dev = cl->dev;
 
-	/* If Id is not asigned get one*/
+	/* If Id is not assigned get one*/
 	if (id == MEI_HOST_CLIENT_ID_ANY)
 		id = find_first_zero_bit(dev->host_clients_map,
 					MEI_CLIENTS_MAX);
@@ -378,7 +378,7 @@ void mei_host_client_init(struct work_struct *work)
 
 
 /**
- * mei_cl_disconnect - disconnect host clinet form the me one
+ * mei_cl_disconnect - disconnect host client from the me one
  *
  * @cl: host client
  *
@@ -457,7 +457,7 @@ free:
  *
  * @cl: private data of the file object
  *
- * returns ture if other client is connected, 0 - otherwise.
+ * returns true if other client is connected, 0 - otherwise.
  */
 bool mei_cl_is_other_connecting(struct mei_cl *cl)
 {
@@ -481,7 +481,7 @@ bool mei_cl_is_other_connecting(struct mei_cl *cl)
 }
 
 /**
- * mei_cl_connect - connect host clinet to the me one
+ * mei_cl_connect - connect host client to the me one
  *
  * @cl: host client
  *
@@ -775,7 +775,7 @@ int mei_cl_irq_write_complete(struct mei_cl *cl, struct mei_cl_cb *cb,
  * @cl: host client
  * @cl: write callback with filled data
  *
- * returns numbe of bytes sent on success, <0 on failure.
+ * returns number of bytes sent on success, <0 on failure.
  */
 int mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, bool blocking)
 {
-- 
1.8.5.rc1.28.g7061504


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c
  2013-11-23 15:36 [PATCH 1/3] [trivial] mei: Fix typo in client.c Masanari Iida
@ 2013-11-23 15:36 ` Masanari Iida
  2013-11-24  8:43   ` Winkler, Tomas
  2013-11-23 15:36 ` [PATCH 3/3] [trivial] mei: Fix typo in mei drivers Masanari Iida
  2013-11-24  8:42 ` [PATCH 1/3] [trivial] mei: Fix typo in client.c Winkler, Tomas
  2 siblings, 1 reply; 8+ messages in thread
From: Masanari Iida @ 2013-11-23 15:36 UTC (permalink / raw)
  To: trivial, linux-kernel, tomas.winkler; +Cc: rdunlap, Masanari Iida

Correct spelling typo in comments and debug messages.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/misc/mei/nfc.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/misc/mei/nfc.c b/drivers/misc/mei/nfc.c
index 994ca4a..7e8590e 100644
--- a/drivers/misc/mei/nfc.c
+++ b/drivers/misc/mei/nfc.c
@@ -163,7 +163,7 @@ static int mei_nfc_build_bus_name(struct mei_nfc_dev *ndev)
 			return 0;
 
 		default:
-			dev_err(&dev->pdev->dev, "Unknow radio type 0x%x\n",
+			dev_err(&dev->pdev->dev, "Unknown radio type 0x%x\n",
 				ndev->radio_type);
 
 			return -EINVAL;
@@ -175,14 +175,14 @@ static int mei_nfc_build_bus_name(struct mei_nfc_dev *ndev)
 			ndev->bus_name = "pn544";
 			return 0;
 		default:
-			dev_err(&dev->pdev->dev, "Unknow radio type 0x%x\n",
+			dev_err(&dev->pdev->dev, "Unknown radio type 0x%x\n",
 				ndev->radio_type);
 
 			return -EINVAL;
 		}
 
 	default:
-		dev_err(&dev->pdev->dev, "Unknow vendor ID 0x%x\n",
+		dev_err(&dev->pdev->dev, "Unknown vendor ID 0x%x\n",
 			ndev->vendor_id);
 
 		return -EINVAL;
@@ -428,7 +428,7 @@ static void mei_nfc_init(struct work_struct *work)
 	mutex_unlock(&dev->device_lock);
 
 	if (mei_nfc_if_version(ndev) < 0) {
-		dev_err(&dev->pdev->dev, "Could not get the NFC interfave version");
+		dev_err(&dev->pdev->dev, "Could not get the NFC interface version");
 
 		goto err;
 	}
@@ -481,7 +481,7 @@ int mei_nfc_host_init(struct mei_device *dev)
 	struct mei_cl *cl_info, *cl = NULL;
 	int i, ret;
 
-	/* already initialzed */
+	/* already initialized */
 	if (ndev->cl_info)
 		return 0;
 
-- 
1.8.5.rc1.28.g7061504


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH 3/3] [trivial] mei: Fix typo in mei drivers
  2013-11-23 15:36 [PATCH 1/3] [trivial] mei: Fix typo in client.c Masanari Iida
  2013-11-23 15:36 ` [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c Masanari Iida
@ 2013-11-23 15:36 ` Masanari Iida
  2013-11-24  8:42   ` Winkler, Tomas
  2013-11-25  4:04   ` Randy Dunlap
  2013-11-24  8:42 ` [PATCH 1/3] [trivial] mei: Fix typo in client.c Winkler, Tomas
  2 siblings, 2 replies; 8+ messages in thread
From: Masanari Iida @ 2013-11-23 15:36 UTC (permalink / raw)
  To: trivial, linux-kernel, tomas.winkler; +Cc: rdunlap, Masanari Iida

Correct spelling typo in comments within mei.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/misc/mei/amthif.c  |  4 ++--
 drivers/misc/mei/debugfs.c |  2 +-
 drivers/misc/mei/hbm.c     | 12 ++++++------
 drivers/misc/mei/mei_dev.h |  2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c
index d22c686..71971ef 100644
--- a/drivers/misc/mei/amthif.c
+++ b/drivers/misc/mei/amthif.c
@@ -177,7 +177,7 @@ int mei_amthif_read(struct mei_device *dev, struct file *file,
 	unsigned long timeout;
 	int i;
 
-	/* Only Posible if we are in timeout */
+	/* Only Possible if we are in timeout */
 	if (!cl || cl != &dev->iamthif_cl) {
 		dev_dbg(&dev->pdev->dev, "bad file ext.\n");
 		return -ETIMEDOUT;
@@ -249,7 +249,7 @@ int mei_amthif_read(struct mei_device *dev, struct file *file,
 	    cb->response_buffer.size);
 	dev_dbg(&dev->pdev->dev, "amthif cb->buf_idx - %lu\n", cb->buf_idx);
 
-	/* length is being turncated to PAGE_SIZE, however,
+	/* length is being truncated to PAGE_SIZE, however,
 	 * the buf_idx may point beyond */
 	length = min_t(size_t, length, (cb->buf_idx - *offset));
 
diff --git a/drivers/misc/mei/debugfs.c b/drivers/misc/mei/debugfs.c
index e3870f2..10b172a 100644
--- a/drivers/misc/mei/debugfs.c
+++ b/drivers/misc/mei/debugfs.c
@@ -43,7 +43,7 @@ static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf,
 
 	mutex_lock(&dev->device_lock);
 
-	/*  if the driver is not enabled the list won't b consitent */
+	/*  if the driver is not enabled the list won't b consistent */
 	if (dev->dev_state != MEI_DEV_ENABLED)
 		goto out;
 
diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c
index 9b3a0fb..96fed82 100644
--- a/drivers/misc/mei/hbm.c
+++ b/drivers/misc/mei/hbm.c
@@ -90,7 +90,7 @@ void mei_hbm_cl_hdr(struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len)
  * @file: private data of the file object.
  * @disconn: disconnection request.
  *
- * returns true if addres are same
+ * returns true if address are same
  */
 static inline
 bool mei_hbm_cl_addr_equal(struct mei_cl *cl, void *buf)
@@ -268,7 +268,7 @@ static int mei_hbm_prop_req(struct mei_device *dev)
 }
 
 /**
- * mei_hbm_stop_req_prepare - perpare stop request message
+ * mei_hbm_stop_req_prepare - prepare stop request message
  *
  * @dev - mei device
  * @mei_hdr - mei message header
@@ -289,7 +289,7 @@ static void mei_hbm_stop_req_prepare(struct mei_device *dev,
 }
 
 /**
- * mei_hbm_cl_flow_control_req - sends flow control requst.
+ * mei_hbm_cl_flow_control_req - sends flow control request.
  *
  * @dev: the device structure
  * @cl: client info
@@ -451,7 +451,7 @@ int mei_hbm_cl_connect_req(struct mei_device *dev, struct mei_cl *cl)
 }
 
 /**
- * mei_hbm_cl_connect_res - connect resposne from the ME
+ * mei_hbm_cl_connect_res - connect response from the ME
  *
  * @dev: the device structure
  * @rs: connect response bus message
@@ -506,7 +506,7 @@ static void mei_hbm_cl_connect_res(struct mei_device *dev,
 
 /**
  * mei_hbm_fw_disconnect_req - disconnect request initiated by me
- *  host sends disoconnect response
+ *  host sends disconnect response
  *
  * @dev: the device structure.
  * @disconnect_req: disconnect request bus message from the me
@@ -687,7 +687,7 @@ void mei_hbm_dispatch(struct mei_device *dev, struct mei_msg_hdr *hdr)
 				mei_hbm_me_cl_allocate(dev);
 				dev->hbm_state = MEI_HBM_CLIENT_PROPERTIES;
 
-				/* first property reqeust */
+				/* first property request */
 				mei_hbm_prop_req(dev);
 		} else {
 			dev_err(&dev->pdev->dev, "reset: unexpected enumeration response hbm.\n");
diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h
index 406f68e..a994190 100644
--- a/drivers/misc/mei/mei_dev.h
+++ b/drivers/misc/mei/mei_dev.h
@@ -65,7 +65,7 @@ extern const uuid_le mei_wd_guid;
  * that can be opened to the driver.
  *
  * Limit to 255: 256 Total Clients
- * minus internal client for MEI Bus Messags
+ * minus internal client for MEI Bus Messages
  */
 #define  MEI_MAX_OPEN_HANDLE_COUNT (MEI_CLIENTS_MAX - 1)
 
-- 
1.8.5.rc1.28.g7061504


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* RE: [PATCH 1/3] [trivial] mei: Fix typo in client.c
  2013-11-23 15:36 [PATCH 1/3] [trivial] mei: Fix typo in client.c Masanari Iida
  2013-11-23 15:36 ` [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c Masanari Iida
  2013-11-23 15:36 ` [PATCH 3/3] [trivial] mei: Fix typo in mei drivers Masanari Iida
@ 2013-11-24  8:42 ` Winkler, Tomas
  2 siblings, 0 replies; 8+ messages in thread
From: Winkler, Tomas @ 2013-11-24  8:42 UTC (permalink / raw)
  To: Masanari Iida, trivial, linux-kernel; +Cc: rdunlap

> Correct spelling typo in comments within mei/client.c
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH 3/3] [trivial] mei: Fix typo in mei drivers
  2013-11-23 15:36 ` [PATCH 3/3] [trivial] mei: Fix typo in mei drivers Masanari Iida
@ 2013-11-24  8:42   ` Winkler, Tomas
  2013-11-25  4:04   ` Randy Dunlap
  1 sibling, 0 replies; 8+ messages in thread
From: Winkler, Tomas @ 2013-11-24  8:42 UTC (permalink / raw)
  To: Masanari Iida, trivial, linux-kernel; +Cc: rdunlap



> Correct spelling typo in comments within mei.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
Acked


^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c
  2013-11-23 15:36 ` [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c Masanari Iida
@ 2013-11-24  8:43   ` Winkler, Tomas
  0 siblings, 0 replies; 8+ messages in thread
From: Winkler, Tomas @ 2013-11-24  8:43 UTC (permalink / raw)
  To: Masanari Iida, trivial, linux-kernel; +Cc: rdunlap



> 
> Correct spelling typo in comments and debug messages.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>

Acked

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 3/3] [trivial] mei: Fix typo in mei drivers
  2013-11-23 15:36 ` [PATCH 3/3] [trivial] mei: Fix typo in mei drivers Masanari Iida
  2013-11-24  8:42   ` Winkler, Tomas
@ 2013-11-25  4:04   ` Randy Dunlap
  2013-11-25 11:40     ` Winkler, Tomas
  1 sibling, 1 reply; 8+ messages in thread
From: Randy Dunlap @ 2013-11-25  4:04 UTC (permalink / raw)
  To: Masanari Iida, trivial, linux-kernel, tomas.winkler

On 11/23/13 07:36, Masanari Iida wrote:
> Correct spelling typo in comments within mei.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  drivers/misc/mei/amthif.c  |  4 ++--
>  drivers/misc/mei/debugfs.c |  2 +-
>  drivers/misc/mei/hbm.c     | 12 ++++++------
>  drivers/misc/mei/mei_dev.h |  2 +-
>  4 files changed, 10 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/misc/mei/debugfs.c b/drivers/misc/mei/debugfs.c
> index e3870f2..10b172a 100644
> --- a/drivers/misc/mei/debugfs.c
> +++ b/drivers/misc/mei/debugfs.c
> @@ -43,7 +43,7 @@ static ssize_t mei_dbgfs_read_meclients(struct file *fp, char __user *ubuf,
>  
>  	mutex_lock(&dev->device_lock);
>  
> -	/*  if the driver is not enabled the list won't b consitent */
> +	/*  if the driver is not enabled the list won't b consistent */

	                                                be

>  	if (dev->dev_state != MEI_DEV_ENABLED)
>  		goto out;
>  
> diff --git a/drivers/misc/mei/hbm.c b/drivers/misc/mei/hbm.c
> index 9b3a0fb..96fed82 100644
> --- a/drivers/misc/mei/hbm.c
> +++ b/drivers/misc/mei/hbm.c
> @@ -90,7 +90,7 @@ void mei_hbm_cl_hdr(struct mei_cl *cl, u8 hbm_cmd, void *buf, size_t len)
>   * @file: private data of the file object.
>   * @disconn: disconnection request.
>   *
> - * returns true if addres are same
> + * returns true if address are same

                      addresses

>   */
>  static inline
>  bool mei_hbm_cl_addr_equal(struct mei_cl *cl, void *buf)


-- 
~Randy

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [PATCH 3/3] [trivial] mei: Fix typo in mei drivers
  2013-11-25  4:04   ` Randy Dunlap
@ 2013-11-25 11:40     ` Winkler, Tomas
  0 siblings, 0 replies; 8+ messages in thread
From: Winkler, Tomas @ 2013-11-25 11:40 UTC (permalink / raw)
  To: Randy Dunlap, Masanari Iida, trivial, linux-kernel



> 
> >  drivers/misc/mei/amthif.c  |  4 ++--
> >  drivers/misc/mei/debugfs.c |  2 +-
> >  drivers/misc/mei/hbm.c     | 12 ++++++------
> >  drivers/misc/mei/mei_dev.h |  2 +-
> >  4 files changed, 10 insertions(+), 10 deletions(-)
> >
> > diff --git a/drivers/misc/mei/debugfs.c b/drivers/misc/mei/debugfs.c
> > index e3870f2..10b172a 100644
> > --- a/drivers/misc/mei/debugfs.c
> > +++ b/drivers/misc/mei/debugfs.c
> > @@ -43,7 +43,7 @@ static ssize_t mei_dbgfs_read_meclients(struct file *fp, char
> __user *ubuf,
> >
> >  	mutex_lock(&dev->device_lock);
> >
> > -	/*  if the driver is not enabled the list won't b consitent */
> > +	/*  if the driver is not enabled the list won't b consistent */
> 
> 	                                                be


Actually, this I already  have fixed in my queue. 
Will post shortly 

Thanks
Tomas

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-25 11:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-23 15:36 [PATCH 1/3] [trivial] mei: Fix typo in client.c Masanari Iida
2013-11-23 15:36 ` [PATCH 2/3] [trivial] mei: Fix typo in mei/nfc.c Masanari Iida
2013-11-24  8:43   ` Winkler, Tomas
2013-11-23 15:36 ` [PATCH 3/3] [trivial] mei: Fix typo in mei drivers Masanari Iida
2013-11-24  8:42   ` Winkler, Tomas
2013-11-25  4:04   ` Randy Dunlap
2013-11-25 11:40     ` Winkler, Tomas
2013-11-24  8:42 ` [PATCH 1/3] [trivial] mei: Fix typo in client.c Winkler, Tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).