2021-06-01 14:02:44

by Yue Haibing

[permalink] [raw]
Subject: [PATCH -next] lib: crc64: Fix kernel-doc warning

Fix W=1 kernel build warning:

lib/crc64.c:40: warning:
bad line: or the previous crc64 value if computing incrementally.

Signed-off-by: YueHaibing <[email protected]>
---
lib/crc64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/crc64.c b/lib/crc64.c
index 47cfa054827f..9f852a89ee2a 100644
--- a/lib/crc64.c
+++ b/lib/crc64.c
@@ -37,7 +37,7 @@ MODULE_LICENSE("GPL v2");
/**
* crc64_be - Calculate bitwise big-endian ECMA-182 CRC64
* @crc: seed value for computation. 0 or (u64)~0 for a new CRC calculation,
- or the previous crc64 value if computing incrementally.
+ * or the previous crc64 value if computing incrementally.
* @p: pointer to buffer over which CRC64 is run
* @len: length of buffer @p
*/
--
2.17.1


2021-06-01 14:06:12

by Coly Li

[permalink] [raw]
Subject: Re: [PATCH -next] lib: crc64: Fix kernel-doc warning

On 6/1/21 9:58 PM, YueHaibing wrote:
> Fix W=1 kernel build warning:
>
> lib/crc64.c:40: warning:
> bad line: or the previous crc64 value if computing incrementally.
>
> Signed-off-by: YueHaibing <[email protected]>

Reviewed-by: Coly Li <[email protected]>


Thanks.

Coly Li

> ---
> lib/crc64.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/crc64.c b/lib/crc64.c
> index 47cfa054827f..9f852a89ee2a 100644
> --- a/lib/crc64.c
> +++ b/lib/crc64.c
> @@ -37,7 +37,7 @@ MODULE_LICENSE("GPL v2");
> /**
> * crc64_be - Calculate bitwise big-endian ECMA-182 CRC64
> * @crc: seed value for computation. 0 or (u64)~0 for a new CRC calculation,
> - or the previous crc64 value if computing incrementally.
> + * or the previous crc64 value if computing incrementally.
> * @p: pointer to buffer over which CRC64 is run
> * @len: length of buffer @p
> */

2021-06-01 18:27:25

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH -next] lib: crc64: Fix kernel-doc warning

On 6/1/21 6:58 AM, YueHaibing wrote:
> Fix W=1 kernel build warning:
>
> lib/crc64.c:40: warning:
> bad line: or the previous crc64 value if computing incrementally.
>
> Signed-off-by: YueHaibing <[email protected]>

Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>


Thanks.

> ---
> lib/crc64.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/crc64.c b/lib/crc64.c
> index 47cfa054827f..9f852a89ee2a 100644
> --- a/lib/crc64.c
> +++ b/lib/crc64.c
> @@ -37,7 +37,7 @@ MODULE_LICENSE("GPL v2");
> /**
> * crc64_be - Calculate bitwise big-endian ECMA-182 CRC64
> * @crc: seed value for computation. 0 or (u64)~0 for a new CRC calculation,
> - or the previous crc64 value if computing incrementally.
> + * or the previous crc64 value if computing incrementally.
> * @p: pointer to buffer over which CRC64 is run
> * @len: length of buffer @p
> */
>


--
~Randy