mm: fix typo in comment
PATCH 1/1 mm: fix typo in comment
Fix spelling of successful (currently spelled successfull in kernel source)
Signed-off-by Joel Savitz <[email protected]>
--- include/linux/compaction.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/compaction.h +2 -2
@@ -38,12 +38,12 @@ enum compact_result {COMPACT_CONTINUE ,/* -* The full zone was compacted scanned but wasn't successfull to compact +* The full zone was compacted scanned but wasn't successful to compact * suitable pages. */ COMPACT_COMPLETE ,/* -* direct compaction has scanned part of the zone but wasn't successfull +* direct compaction has scanned part of the zone but wasn't successful * to compact suitable pages. */ COMPACT_PARTIAL_SKIPPED,
Signature · 1 line
2.18.1
Quoted 2 lines · Joel Savitz
Fix spelling of successful (currently spelled successfull in kernel source)
If you're going to bother fixing the spelling, may as well fix the grammar at the same time.
include/linux/compaction.h enum compact_result { · line 43
Quoted 5 lines
include/linux/compaction.h +1
-1/* -* The full zone was compacted scanned but wasn't successfull to compact +* The full zone was compacted scanned but wasn't successful to compact * suitable pages. */
... actually, I don't know what is meant here. Could it mean:
/* * The full zone was scanned for compaction, but didn't produce * suitable pages. */
include/linux/compaction.h enum compact_result { · line 47
Quoted 4 lines
include/linux/compaction.h +1
-1/* -* direct compaction has scanned part of the zone but wasn't successfull +* direct compaction has scanned part of the zone but wasn't successful * to compact suitable pages.
* Zone compaction had to stop before scanning the full zone, and
* no suitable pages were produced.