* [PATCH linux-next] include/linux/zstd.h: Fix spelling errors in comments
@ 2021-10-28 7:22 luo penghao
2021-10-28 22:16 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: luo penghao @ 2021-10-28 7:22 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-kernel, luo penghao
It’s just a small problem. Although it doesn’t affect reading,
it seems that it should be revised.
Reported-by: luo penghao <luo.penghao@zte.com.cn>
Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
---
include/linux/zstd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/zstd.h b/include/linux/zstd.h
index e87f78c..a093e18 100644
--- a/include/linux/zstd.h
+++ b/include/linux/zstd.h
@@ -90,7 +90,7 @@ size_t ZSTD_compressBound(size_t srcSize);
* ZSTD_isError() - tells if a size_t function result is an error code
* @code: The function result to check for error.
*
- * Return: Non-zero iff the code is an error.
+ * Return: Non-zero if the code is an error.
*/
static __attribute__((unused)) unsigned int ZSTD_isError(size_t code)
{
--
2.15.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH linux-next] include/linux/zstd.h: Fix spelling errors in comments
2021-10-28 7:22 [PATCH linux-next] include/linux/zstd.h: Fix spelling errors in comments luo penghao
@ 2021-10-28 22:16 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-10-28 22:16 UTC (permalink / raw)
To: luo penghao, Stephen Rothwell; +Cc: linux-kernel, luo penghao
On 10/28/21 12:22 AM, luo penghao wrote:
> It’s just a small problem. Although it doesn’t affect reading,
> it seems that it should be revised.
Hi,
Probably related to this:
https://en.wikipedia.org/wiki/If_and_only_if
> Reported-by: luo penghao <luo.penghao@zte.com.cn>
> Signed-off-by: luo penghao <luo.penghao@zte.com.cn>
> ---
> include/linux/zstd.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/zstd.h b/include/linux/zstd.h
> index e87f78c..a093e18 100644
> --- a/include/linux/zstd.h
> +++ b/include/linux/zstd.h
> @@ -90,7 +90,7 @@ size_t ZSTD_compressBound(size_t srcSize);
> * ZSTD_isError() - tells if a size_t function result is an error code
> * @code: The function result to check for error.
> *
> - * Return: Non-zero iff the code is an error.
> + * Return: Non-zero if the code is an error.
> */
> static __attribute__((unused)) unsigned int ZSTD_isError(size_t code)
> {
>
--
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-28 22:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 7:22 [PATCH linux-next] include/linux/zstd.h: Fix spelling errors in comments luo penghao
2021-10-28 22:16 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).