public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c
@ 2021-02-12  9:50 Pritthijit Nath
  2021-02-12 10:02 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Pritthijit Nath @ 2021-02-12  9:50 UTC (permalink / raw)
  To: vireshk, gregkh, johan, elder
  Cc: greybus-dev, devel, linux-kernel, Pritthijit Nath

Fixed the spelling of 'transfered' to 'transferred'.

Signed-off-by: Pritthijit Nath <pritthijit.nath@icloud.com>
---
 Fixed the typo in the patch which was meant to fix that very typo.
 Really sorry for last time.
 Hope this does not have any other typo.

 drivers/staging/greybus/hid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c
index a56c3fb5d35a..adb91286803a 100644
--- a/drivers/staging/greybus/hid.c
+++ b/drivers/staging/greybus/hid.c
@@ -254,7 +254,7 @@ static int __gb_hid_output_raw_report(struct hid_device *hid, __u8 *buf,
 
 	ret = gb_hid_set_report(ghid, report_type, report_id, buf, len);
 	if (report_id && ret >= 0)
-		ret++; /* add report_id to the number of transfered bytes */
+		ret++; /* add report_id to the number of transferred bytes */
 
 	return 0;
 }
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c
@ 2021-02-12 10:13 Pritthijit Nath
  0 siblings, 0 replies; 7+ messages in thread
From: Pritthijit Nath @ 2021-02-12 10:13 UTC (permalink / raw)
  To: vireshk, gregkh, johan, elder
  Cc: greybus-dev, devel, linux-kernel, Pritthijit Nath

Fixed the spelling of 'transfered' to 'transferred'.

Signed-off-by: Pritthijit Nath <pritthijit.nath@icloud.com>
---
 Fixed the typo in 'transferred' which crept in last time.

 drivers/staging/greybus/hid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c
index a56c3fb5d35a..adb91286803a 100644
--- a/drivers/staging/greybus/hid.c
+++ b/drivers/staging/greybus/hid.c
@@ -254,7 +254,7 @@ static int __gb_hid_output_raw_report(struct hid_device *hid, __u8 *buf,
 
 	ret = gb_hid_set_report(ghid, report_type, report_id, buf, len);
 	if (report_id && ret >= 0)
-		ret++; /* add report_id to the number of transfered bytes */
+		ret++; /* add report_id to the number of transferred bytes */
 
 	return 0;
 }
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH 1/2] staging: greybus: Fixed alignment issue in hid.c
@ 2021-02-12  8:18 Pritthijit Nath
  2021-02-12  8:18 ` [PATCH 2/2] staging: greybus: Fixed a misspelling " Pritthijit Nath
  0 siblings, 1 reply; 7+ messages in thread
From: Pritthijit Nath @ 2021-02-12  8:18 UTC (permalink / raw)
  To: vireshk, gregkh, johan, elder
  Cc: greybus-dev, devel, linux-kernel, Pritthijit Nath

This change fixes a checkpatch CHECK style issue for "Alignment should match
open parenthesis".

Signed-off-by: Pritthijit Nath <pritthijit.nath@icloud.com>
---
 drivers/staging/greybus/hid.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/hid.c b/drivers/staging/greybus/hid.c
index ed706f39e87a..a56c3fb5d35a 100644
--- a/drivers/staging/greybus/hid.c
+++ b/drivers/staging/greybus/hid.c
@@ -221,8 +221,8 @@ static void gb_hid_init_reports(struct gb_hid *ghid)
 }

 static int __gb_hid_get_raw_report(struct hid_device *hid,
-		unsigned char report_number, __u8 *buf, size_t count,
-		unsigned char report_type)
+				   unsigned char report_number, __u8 *buf, size_t count,
+				   unsigned char report_type)
 {
 	struct gb_hid *ghid = hid->driver_data;
 	int ret;
--
2.25.1


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

end of thread, other threads:[~2021-02-12 10:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-12  9:50 [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c Pritthijit Nath
2021-02-12 10:02 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2021-02-12 10:13 Pritthijit Nath
2021-02-12  8:18 [PATCH 1/2] staging: greybus: Fixed alignment issue " Pritthijit Nath
2021-02-12  8:18 ` [PATCH 2/2] staging: greybus: Fixed a misspelling " Pritthijit Nath
2021-02-12  8:44   ` Johan Hovold
2021-02-12  8:54     ` Greg KH
2021-02-12  9:07       ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox