Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread Tang Chen
On 02/06/2013 04:27 PM, David Rientjes wrote: On Tue, 5 Feb 2013, Shuah Khan wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 67bad4b..ed78400 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned lo

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread David Rientjes
On Tue, 5 Feb 2013, Shuah Khan wrote: > diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c > index 67bad4b..ed78400 100644 > --- a/arch/x86/mm/init_64.c > +++ b/arch/x86/mm/init_64.c > @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned long addr, > unsigned long end, > stati

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-05 Thread Yinghai Lu
On Tue, Feb 5, 2013 at 6:52 PM, Shuah Khan wrote: > Fix the following compile warning in remove_pagetable(): > arch/x86/mm/init_64.c: In function ‘remove_pagetable’: > arch/x86/mm/init_64.c:996:9: warning: ‘next’ may be used uninitialized in > this function [-Wuninitialized] > > > Signed-off-by:

[PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-05 Thread Shuah Khan
Fix the following compile warning in remove_pagetable(): arch/x86/mm/init_64.c: In function ‘remove_pagetable’: arch/x86/mm/init_64.c:996:9: warning: ‘next’ may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Shuah Khan --- arch/x86/mm/init_64.c |2 +- 1 file change