]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
pstore/blk: trivial typo fixes
authorEugen Hristev <eugen.hristev@linaro.org>
Wed, 1 Jan 2025 11:19:21 +0000 (13:19 +0200)
committerKees Cook <kees@kernel.org>
Wed, 8 Jan 2025 22:38:33 +0000 (14:38 -0800)
Fix trivial typos in comments.

Fixes: 2a03ddbde1e1 ("pstore/blk: Move verify_size() macro out of function")
Fixes: 17639f67c1d6 ("pstore/blk: Introduce backend for block devices")
Signed-off-by: Eugen Hristev <eugen.hristev@linaro.org>
Link: https://lore.kernel.org/r/20250101111921.850406-1-eugen.hristev@linaro.org
Signed-off-by: Kees Cook <kees@kernel.org>
fs/pstore/blk.c

index 65b2473e22ff9c827e2b15d736c9fb2dbc363019..fa6b8cb788a1f26aac4b0fa76ccc31e38d2a89c5 100644 (file)
@@ -89,7 +89,7 @@ static struct pstore_device_info *pstore_device_info;
                _##name_ = check_size(name, alignsize);         \
        else                                                    \
                _##name_ = 0;                                   \
-       /* Synchronize module parameters with resuls. */        \
+       /* Synchronize module parameters with results. */       \
        name = _##name_ / 1024;                                 \
        dev->zone.name = _##name_;                              \
 }
@@ -121,7 +121,7 @@ static int __register_pstore_device(struct pstore_device_info *dev)
        if (pstore_device_info)
                return -EBUSY;
 
-       /* zero means not limit on which backends to attempt to store. */
+       /* zero means no limit on which backends attempt to store. */
        if (!dev->flags)
                dev->flags = UINT_MAX;