Re: [PATCH 2/2] staging: greybus: Fixed a misspelling in hid.c

From: Johan Hovold
Date: Fri Feb 12 2021 - 03:44:36 EST


On Fri, Feb 12, 2021 at 01:48:35PM +0530, Pritthijit Nath wrote:
> Fixed the spelling of 'transfered' to 'transferred'.
>
> Signed-off-by: Pritthijit Nath <pritthijit.nath@xxxxxxxxxx>
> ---
> 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..6b19ff4743a9 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 transferrid bytes */

You now misspelled transferred in a different way.

>
> return 0;
> }

Johan