Re: [patch] mm: fix build warning for uninitialized value

2012-11-06 Thread Haggai Eran
On 05/11/2012 23:36, David Rientjes wrote: > do_wp_page() sets mmun_called if mmun_start and mmun_end were initialized > and, if so, may call mmu_notifier_invalidate_range_end() with these > values. This doesn't prevent gcc from emitting a build warning though: > > mm/memory.c: In function ‘do_

Re: [patch] mm: fix build warning for uninitialized value

2012-11-05 Thread David Rientjes
do_wp_page() sets mmun_called if mmun_start and mmun_end were initialized and, if so, may call mmu_notifier_invalidate_range_end() with these values. This doesn't prevent gcc from emitting a build warning though: mm/memory.c: In function ‘do_wp_page’: mm/memory.c:2530: warning: ‘mmun_start’ may

[patch] mm: fix build warning for uninitialized value

2012-10-31 Thread David Rientjes
do_wp_page() sets mmun_called if mmun_start and mmun_end were initialized and, if so, may call mmu_notifier_invalidate_range_end() with these values. This doesn't prevent gcc from emitting a build warning though: mm/memory.c: In function ‘do_wp_page’: mm/memory.c:2530: warning: ‘mmun_start’ may