login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
31
Re: [PATCH] x86: fix pointer type warning in arch/x86/mm/init_64.c:early_memtest
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: [PATCH] x86: fix pointer type warning in arch/x86/mm/init_64.c:early_memtest
Date: Friday, May 30, 2008 - 5:56 pm
On Fri, May 30, 2008 at 5:34 PM, Kevin Winchester <kjwinchester@gmail.com> wrote:
quoted text
> Kevin Winchester wrote: >> >> Changed the call to find_e820_area_size to pass u64 instead of unsigned >> long. >> >> Signed-off-by: Kevin Winchester <kjwinchester@gmail.com> >> --- >> arch/x86/mm/init_64.c | 4 ++-- >> 1 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c >> index 83ab7f9..94f73c2 100644 >> --- a/arch/x86/mm/init_64.c >> +++ b/arch/x86/mm/init_64.c >> @@ -515,7 +515,7 @@ early_param("memtest", parse_memtest); >> static void __init early_memtest(unsigned long start, unsigned long end) >> { >> - unsigned long t_start, t_size; >> + u64 t_start, t_size; >> unsigned pattern; >> if (!memtest_pattern) >> @@ -534,7 +534,7 @@ static void __init early_memtest(unsigned long start, >> unsigned long end) >> if (t_start + t_size > end) >> t_size = end - t_start; >> - printk(KERN_CONT "\n %016lx - %016lx pattern >> %d", >> + printk(KERN_CONT "\n %016llx - %016llx pattern >> %d", >> t_start, t_start + t_size, pattern); >> memtest(t_start, t_size, pattern); > > I still see this warning on next-20080530 - so I expanded the CC list a > little. Did I do this patch right?
i had one in local too. Acked-by: Yinghai Lu <yhlu.kernel@gmail.com> --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] x86: fix pointer type warning in arch/x86/mm/init_ ...
, Kevin Winchester
, (Thu May 29, 5:14 pm)
Re: [PATCH] x86: fix pointer type warning in arch/x86/mm/i ...
, Kevin Winchester
, (Thu May 29, 5:33 pm)
Re: [PATCH] x86: fix pointer type warning in arch/x86/mm/i ...
, Kevin Winchester
, (Fri May 30, 5:34 pm)
Re: [PATCH] x86: fix pointer type warning in arch/x86/mm/i ...
, Yinghai Lu
, (Fri May 30, 5:56 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Jens Axboe
Re: [BUG] Linux 2.6.25-rc2 - Regression from 2.6.24-rc1-git1 softlockup while bo...
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
git
:
Junio C Hamano
Re: git-svnimport
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
Junio C Hamano
Re: Fwd: git status options feature suggestion
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Ursula Braun
[patch 2/8] [PATCH] af_iucv: sync sk shutdown flag if iucv path is quiesced
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ARM: S3C64XX: DMA: Callback with correct buffer pointer
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate