[PATCH] ipmi: Fix comment typo

Jason Wang posted 1 patch 3 years, 9 months ago
drivers/char/ipmi/ipmi_msghandler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ipmi: Fix comment typo
Posted by Jason Wang 3 years, 9 months ago
The double `the' is duplicated in line 4360, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
Re: [PATCH] ipmi: Fix comment typo
Posted by Corey Minyard 3 years, 9 months ago
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 <wangborong@cdjrlc.com>
> ---
>  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
>