Re: [PATCH linux-next] include/linux/zstd.h: Fix spelling errors in comments

From: Randy Dunlap
Date: Thu Oct 28 2021 - 18:16:45 EST


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@xxxxxxxxxx>
Signed-off-by: luo penghao <luo.penghao@xxxxxxxxxx>
---
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