summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@linaro.org>2025-01-01 13:19:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-08 09:56:51 +0100
commitcc0093865ea791de33231a5b86b3ea654d6d3589 (patch)
tree9d0802bb3e0b5c8ff1ddf94388f7440cffe666f2
parenta8ee6ecde2b7bfb58c8a3afe8a9d2b848f580739 (diff)
downloadlinux-cc0093865ea791de33231a5b86b3ea654d6d3589.tar.gz
linux-cc0093865ea791de33231a5b86b3ea654d6d3589.tar.bz2
linux-cc0093865ea791de33231a5b86b3ea654d6d3589.zip
pstore/blk: trivial typo fixes
[ Upstream commit 542243af7182efaeaf6d0f4643f7de437541a9af ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--fs/pstore/blk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/pstore/blk.c b/fs/pstore/blk.c
index 65b2473e22ff..fa6b8cb788a1 100644
--- a/fs/pstore/blk.c
+++ b/fs/pstore/blk.c
@@ -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;