At 07/28/2012 04:17 AM, Tony Luck Wrote: > On Fri, Jul 27, 2012 at 3:28 AM, Wen Congyang <we...@cn.fujitsu.com> wrote: >> +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 > >> + continue; >> + else >> + return -EINVAL; >> + } >> + return 0; >> +} > > -Tony > _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev