Rewrite some comments to make it more clear and easier to understand.
Signed-off-by: Eugen Hristev
---
fs/pstore/zone.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/fs/pstore/zone.c b/fs/pstore/zone.c
index ceb5639a0629..5fa2fa2e7aa7 100644
--- a/fs
] pstore_zone: alloc zones failed
Signed-off-by: Eugen Hristev
---
Changes in v2:
- reworked to check for c==0 instead of ZERO_SIZE_PTR as suggested by Kees Cook
fs/pstore/zone.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/fs/pstore/zone.c b/fs/pstore/zone.c
index 694db616663f
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
---
fs/pstore/blk.c | 4 ++--
1 file changed, 2 insertions(+),
] pstore_zone: alloc zones failed
Signed-off-by: Eugen Hristev
---
fs/pstore/zone.c | 4
1 file changed, 4 insertions(+)
diff --git a/fs/pstore/zone.c b/fs/pstore/zone.c
index 694db616663f..50a765999b54 100644
--- a/fs/pstore/zone.c
+++ b/fs/pstore/zone.c
@@ -1217,6 +1217,10 @@ static struct
s/conpressed/compressed
Signed-off-by: Eugen Hristev
---
fs/pstore/zone.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/pstore/zone.c b/fs/pstore/zone.c
index 694db616663f..a4ee4e04d1cd 100644
--- a/fs/pstore/zone.c
+++ b/fs/pstore/zone.c
@@ -43,7 +43,7 @@ struct