2019-09-11 23:04:23

by Souptick Joarder

[permalink] [raw]
Subject: [PATCH] mm/memory_hotplug.c: s/is/if

Corrected typo in documentation.

Signed-off-by: Souptick Joarder <[email protected]>
---
mm/memory_hotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index dc0118f..5a404d3 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -1795,7 +1795,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))
--
1.9.1