mm/memory_hotplug.c: s/is/if
authorSouptick Joarder <jrdr.linux@gmail.com>
Mon, 23 Sep 2019 22:36:18 +0000 (15:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 Sep 2019 22:54:09 +0000 (15:54 -0700)
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>
mm/memory_hotplug.c

index 49f7bf91c25a9d828046faa2da134240aa0fe3db..b1be791f772dc0fae4d0eef4bedc45f4312fb454 100644 (file)
@@ -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))