login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
18
Re: [PATCH -tip] rcuclassic: fix compiler warning
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Paul E. McKenney <paulmck@...>
To: Hiroshi Shimamoto <h-shimamoto@...>
Cc: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, <linux-kernel@...>
Subject:
Re: [PATCH -tip] rcuclassic: fix compiler warning
Date: Monday, August 18, 2008 - 7:28 pm
On Mon, Aug 18, 2008 at 02:39:21PM -0700, Hiroshi Shimamoto wrote:
quoted text
> From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> > > CC kernel/rcuclassic.o > kernel/rcuclassic.c: In function 'rcu_init_percpu_data': > kernel/rcuclassic.c:705: warning: comparison of distinct pointer types lacks a cast > kernel/rcuclassic.c:713: warning: comparison of distinct pointer types lacks a cast > > flags should be unsigned long.
You beat me to it! Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
quoted text
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> > --- > kernel/rcuclassic.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/kernel/rcuclassic.c b/kernel/rcuclassic.c > index fb1f1cc..86ff6d6 100644 > --- a/kernel/rcuclassic.c > +++ b/kernel/rcuclassic.c > @@ -700,7 +700,7 @@ void rcu_check_callbacks(int cpu, int user) > static void rcu_init_percpu_data(int cpu, struct rcu_ctrlblk *rcp, > struct rcu_data *rdp) > { > - long flags; > + unsigned long flags; > > spin_lock_irqsave(&rcp->lock, flags); > memset(rdp, 0, sizeof(*rdp)); > -- > 1.5.6 >
--
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 -tip] rcuclassic: fix compiler warning
, Hiroshi Shimamoto
, (Mon Aug 18, 5:39 pm)
Re: [PATCH -tip] rcuclassic: fix compiler warning
, Paul E. McKenney
, (Mon Aug 18, 7:28 pm)
Re: [PATCH -tip] rcuclassic: fix compiler warning
, Hiroshi Shimamoto
, (Tue Aug 26, 2:58 pm)
Re: [PATCH -tip] rcuclassic: fix compiler warning
, Ingo Molnar
, (Wed Aug 27, 3:28 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andy Whitcroft
clam
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Trent Piepho
[PATCH] [POWERPC] Improve (in|out)_beXX() asm code
git
:
linux-netdev
:
David Miller
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
857 guests
online.
Online users
hotelyymod
filebankruptcy
selfhelpspirit
naturalskinctgn
thechpstyahihs
wangawecki
manifestingabu
Syndicate