Skip to content
Snippets Groups Projects
Commit cd1a5f88 authored by Eugen Hristev's avatar Eugen Hristev Committed by Frieder Schrempf
Browse files

pstore/blk: trivial typo fixes


[ Upstream commit 542243af7182efaeaf6d0f4643f7de437541a9af ]

Fix trivial typos in comments.

Fixes: 2a03ddbd ("pstore/blk: Move verify_size() macro out of function")
Fixes: 17639f67 ("pstore/blk: Introduce backend for block devices")
Signed-off-by: default avatarEugen Hristev <eugen.hristev@linaro.org>
Link: https://lore.kernel.org/r/20250101111921.850406-1-eugen.hristev@linaro.org


Signed-off-by: default avatarKees Cook <kees@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fba51eed
No related branches found
No related tags found
1 merge request!191🤖 Sync Bot: Update v6.1-ktn to Latest Stable Kernel (v6.1.129)
...@@ -89,7 +89,7 @@ static struct pstore_device_info *pstore_device_info; ...@@ -89,7 +89,7 @@ static struct pstore_device_info *pstore_device_info;
_##name_ = check_size(name, alignsize); \ _##name_ = check_size(name, alignsize); \
else \ else \
_##name_ = 0; \ _##name_ = 0; \
/* Synchronize module parameters with resuls. */ \ /* Synchronize module parameters with results. */ \
name = _##name_ / 1024; \ name = _##name_ / 1024; \
dev->zone.name = _##name_; \ dev->zone.name = _##name_; \
} }
...@@ -121,7 +121,7 @@ static int __register_pstore_device(struct pstore_device_info *dev) ...@@ -121,7 +121,7 @@ static int __register_pstore_device(struct pstore_device_info *dev)
if (pstore_device_info) if (pstore_device_info)
return -EBUSY; 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) if (!dev->flags)
dev->flags = UINT_MAX; dev->flags = UINT_MAX;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment