Re: [PATCH] mm: Fix build warning

2019-03-30 Thread Mukesh Ojha
On 3/30/2019 11:12 AM, Aneesh Kumar K.V wrote: mm/debug.c: In function ‘dump_mm’: include/linux/kern_levels.h:5:18: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 19 has type ‘long int’ [-Wformat=] ~~~^ Signed-off-by: Aneesh Kumar K.V

[PATCH] mm: Fix build warning

2019-03-29 Thread Aneesh Kumar K.V
mm/debug.c: In function ‘dump_mm’: include/linux/kern_levels.h:5:18: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 19 has type ‘long int’ [-Wformat=] ~~~^ Signed-off-by: Aneesh Kumar K.V --- mm/debug.c | 2 +- 1 file changed, 1 insertion(+)

Re: [PATCH] mm: fix build warning about kernel_physical_mapping_remove()

2013-04-17 Thread Yijing Wang
On 2013/4/17 15:22, Wanpeng Li wrote: > On Wed, Apr 17, 2013 at 03:15:58PM +0800, Yijing Wang wrote: >> If CONFIG_MEMORY_HOTREMOVE is not set, a build warning about >> "warning: ‘kernel_physical_mapping_remove’ defined but not used" >> report. >> > > This has already been fixed by Tang Chen. > ht

[PATCH] mm: fix build warning about kernel_physical_mapping_remove()

2013-04-17 Thread Yijing Wang
If CONFIG_MEMORY_HOTREMOVE is not set, a build warning about "warning: ‘kernel_physical_mapping_remove’ defined but not used" report. Signed-off-by: Yijing Wang Cc: Tang Chen Cc: Wen Congyang --- arch/x86/mm/init_64.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ar

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

[PATCH] mm: fix build warning in try_to_unmap_cluster()

2012-10-25 Thread Jingoo Han
Fix build warning in try_to_unmap_cluster() as below: mm/rmap.c: In function 'try_to_unmap_cluster': mm/rmap.c:1364:9: warning: unused variable 'pud' [-Wunused-variable] mm/rmap.c:1363:9: warning: unused variable 'pgd' [-Wunused-variable] This build warning is introduced by commit 0981230 "mm: in