2020-08-23 04:10:35

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] lib: pldmfw: delete duplicated words

Drop the repeated word "header".

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Jacob Keller <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Jakub Kicinski <[email protected]>
---
lib/pldmfw/pldmfw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200730.orig/lib/pldmfw/pldmfw.c
+++ linux-next-20200730/lib/pldmfw/pldmfw.c
@@ -517,7 +517,7 @@ static int pldm_verify_header_crc(struct
u32 calculated_crc;
size_t length;

- /* Calculate the 32-bit CRC of the header header contents up to but
+ /* Calculate the 32-bit CRC of the header contents up to but
* not including the checksum. Note that the Linux crc32_le function
* does not perform an expected final XOR.
*/


2020-08-24 15:24:00

by Jacob Keller

[permalink] [raw]
Subject: Re: [PATCH] lib: pldmfw: delete duplicated words



On 8/22/2020 9:05 PM, Randy Dunlap wrote:
> Drop the repeated word "header".
>

Thanks for fixing this!

Reviewed-by: Jacob Keller <[email protected]>

> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: Jacob Keller <[email protected]>
> Cc: "David S. Miller" <[email protected]>
> Cc: Jakub Kicinski <[email protected]>
> ---
> lib/pldmfw/pldmfw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-next-20200730.orig/lib/pldmfw/pldmfw.c
> +++ linux-next-20200730/lib/pldmfw/pldmfw.c
> @@ -517,7 +517,7 @@ static int pldm_verify_header_crc(struct
> u32 calculated_crc;
> size_t length;
>
> - /* Calculate the 32-bit CRC of the header header contents up to but
> + /* Calculate the 32-bit CRC of the header contents up to but
> * not including the checksum. Note that the Linux crc32_le function
> * does not perform an expected final XOR.
> */
>