Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86: fix pointer type warning in arch/x86/mm/init_64.c:early_memtest

Changed the call to find_e820_area_size to pass u64 instead of unsigned long.

Signed-off-by: Kevin Winchester <kjwinchester@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Kevin Winchester and committed by
Ingo Molnar
f8a45704 4461145e

+2 -2
+2 -2
arch/x86/mm/init_64.c
··· 506 506 507 507 static void __init early_memtest(unsigned long start, unsigned long end) 508 508 { 509 - unsigned long t_start, t_size; 509 + u64 t_start, t_size; 510 510 unsigned pattern; 511 511 512 512 if (!memtest_pattern) ··· 525 525 if (t_start + t_size > end) 526 526 t_size = end - t_start; 527 527 528 - printk(KERN_CONT "\n %016lx - %016lx pattern %d", 528 + printk(KERN_CONT "\n %016llx - %016llx pattern %d", 529 529 t_start, t_start + t_size, pattern); 530 530 531 531 memtest(t_start, t_size, pattern);