2022-07-18 14:35:11

by Jason Wang

[permalink] [raw]
Subject: [PATCH] ipmi: Fix comment typo

The double `the' is duplicated in line 4360, remove one.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/char/ipmi/ipmi_msghandler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index 703433493c85..c8a3b208f923 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -4357,7 +4357,7 @@ static int handle_oem_get_msg_cmd(struct ipmi_smi *intf,

/*
* The message starts at byte 4 which follows the
- * the Channel Byte in the "GET MESSAGE" command
+ * Channel Byte in the "GET MESSAGE" command
*/
recv_msg->msg.data_len = msg->rsp_size - 4;
memcpy(recv_msg->msg_data, &msg->rsp[4],
--
2.35.1


2022-07-19 00:36:38

by Corey Minyard

[permalink] [raw]
Subject: Re: [PATCH] ipmi: Fix comment typo

On Fri, Jul 15, 2022 at 01:41:56PM +0800, Jason Wang wrote:
> The double `the' is duplicated in line 4360, remove one.

Applied, thanks.

-corey

>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> drivers/char/ipmi/ipmi_msghandler.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
> index 703433493c85..c8a3b208f923 100644
> --- a/drivers/char/ipmi/ipmi_msghandler.c
> +++ b/drivers/char/ipmi/ipmi_msghandler.c
> @@ -4357,7 +4357,7 @@ static int handle_oem_get_msg_cmd(struct ipmi_smi *intf,
>
> /*
> * The message starts at byte 4 which follows the
> - * the Channel Byte in the "GET MESSAGE" command
> + * Channel Byte in the "GET MESSAGE" command
> */
> recv_msg->msg.data_len = msg->rsp_size - 4;
> memcpy(recv_msg->msg_data, &msg->rsp[4],
> --
> 2.35.1
>