lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 4 Nov 2013 16:12:51 +0800
From:	Zhi Yong Wu <zwu.kernel@...il.com>
To:	linux-mm@...ck.org
Cc:	linux-kernel mlist <linux-kernel@...r.kernel.org>,
	Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>,
	akpm@...ux-foundation.org
Subject: Re: [PATCH 1/2] mm: fix the incorrect function name in alloc_low_pages()

CCed Andrew Morton

On Thu, Oct 31, 2013 at 8:52 PM, Zhi Yong Wu <zwu.kernel@...il.com> wrote:
> From: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
>
> Signed-off-by: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
> ---
>  arch/x86/mm/init.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
> index 04664cd..64d860f 100644
> --- a/arch/x86/mm/init.c
> +++ b/arch/x86/mm/init.c
> @@ -53,12 +53,12 @@ __ref void *alloc_low_pages(unsigned int num)
>         if ((pgt_buf_end + num) > pgt_buf_top || !can_use_brk_pgt) {
>                 unsigned long ret;
>                 if (min_pfn_mapped >= max_pfn_mapped)
> -                       panic("alloc_low_page: ran out of memory");
> +                       panic("alloc_low_pages: ran out of memory");
>                 ret = memblock_find_in_range(min_pfn_mapped << PAGE_SHIFT,
>                                         max_pfn_mapped << PAGE_SHIFT,
>                                         PAGE_SIZE * num , PAGE_SIZE);
>                 if (!ret)
> -                       panic("alloc_low_page: can not alloc memory");
> +                       panic("alloc_low_pages: can not alloc memory");
>                 memblock_reserve(ret, PAGE_SIZE * num);
>                 pfn = ret >> PAGE_SHIFT;
>         } else {
> --
> 1.7.11.7
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@...ck.org.  For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@...ck.org"> email@...ck.org </a>



-- 
Regards,

Zhi Yong Wu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists