summaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2019-09-24 00:36:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-25 00:54:09 +0200
commit29a90db9299575a4bba82158f9d4e81405c54646 (patch)
treec7abefad9735afc28c995d1635e9a6937e4089c0 /mm/memory_hotplug.c
parentmm/memory_hotplug: online_pages cannot be 0 in online_pages() (diff)
downloadlinux-29a90db9299575a4bba82158f9d4e81405c54646.tar.xz
linux-29a90db9299575a4bba82158f9d4e81405c54646.zip
mm/memory_hotplug.c: s/is/if
Correct typo in comment. Link: http://lkml.kernel.org/r/1568233954-3913-1-git-send-email-jrdr.linux@gmail.com Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r--mm/memory_hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 49f7bf91c25a..b1be791f772d 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -1793,7 +1793,7 @@ void __remove_memory(int nid, u64 start, u64 size)
{
/*
- * trigger BUG() is some memory is not offlined prior to calling this
+ * trigger BUG() if some memory is not offlined prior to calling this
* function
*/
if (try_remove_memory(nid, start, size))