Thread (36 messages) 36 messages, 6 authors, 2012-08-01

Re: [RFC PATCH v5 05/19] memory-hotplug: check whether memory is present or not

From: Wen Congyang <hidden>
Date: 2012-07-30 01:52:48
Also in: linux-acpi, linux-s390, linux-sh, linuxppc-dev, lkml

At 07/28/2012 04:17 AM, Tony Luck Wrote:
On Fri, Jul 27, 2012 at 3:28 AM, Wen Congyang [off-list ref] wrote:
quoted
+static inline int pfns_present(unsigned long pfn, unsigned long nr_pages)
+{
+       int i;
+       for (i = 0; i < nr_pages; i++) {
+               if (pfn_present(pfn + 1))
Typo? I think you meant "pfn + i"
Typo error.

Thanks for pointing it out.
Wen Congyang
quoted
+                       continue;
+               else
+                       return -EINVAL;
+       }
+       return 0;
+}
-Tony
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help