[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1211191336460.12532@chino.kir.corp.google.com>
Date: Mon, 19 Nov 2012 13:36:57 -0800 (PST)
From: David Rientjes <rientjes@...gle.com>
To: Josh Triplett <josh@...htriplett.org>
cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andrea Arcangeli <aarcange@...hat.com>,
Naoya Horiguchi <n-horiguchi@...jp.nec.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 24/58] mm: include/linux/huge_mm.h: Declare is_vma_temporary_stack
unconditionally
On Sun, 18 Nov 2012, Josh Triplett wrote:
> include/linux/huge_mm.h declares is_vma_temporary_stack inside an ifdef
> CONFIG_TRANSPARENT_HUGEPAGE; however, mm/rmap.c defines the function
> unconditionally. Move the function outside of the ifdef.
>
> This eliminates a warning from gcc (-Wmissing-prototypes) and from
> Sparse (-Wdecl).
>
> mm/rmap.c:1440:6: warning: no previous prototype for ‘is_vma_temporary_stack’ [-Wmissing-prototypes]
>
> Signed-off-by: Josh Triplett <josh@...htriplett.org>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists