login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
19
Re: [PATCH 6/8] drivers-edac-i3000 replace macros with functions
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: <dougthompson@...>
Cc: <dougthompson@...>, <alan@...>, <linux-kernel@...>
Subject:
Re: [PATCH 6/8] drivers-edac-i3000 replace macros with functions
Date: Friday, October 19, 2007 - 5:11 pm
On Fri, 19 Oct 2007 13:18:23 -0600
dougthompson@xmission.com
wrote:
quoted text
> +static inline unsigned long deap_pfn(u8 edeap, u32 deap) > +{ > + deap >>= PAGE_SHIFT; > + deap |= (edeap & 1) << (32 - PAGE_SHIFT); > + return deap; > +} > + > +static inline unsigned long deap_offset(u32 deap) > +{ > + return deap & ~(I3000_DEAP_GRAIN - 1) & ~PAGE_MASK; > +} > +
The types here look a bit confused. Implicit conversions of u32s into unsigned longs. -
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 6/8] drivers-edac-i3000 replace macros with functions
,
, (Fri Oct 19, 3:18 pm)
Re: [PATCH 6/8] drivers-edac-i3000 replace macros with funct...
, Andrew Morton
, (Fri Oct 19, 5:11 pm)
Re: [PATCH 6/8] drivers-edac-i3000 replace macros with funct...
, Jason Uhlenkott
, (Fri Oct 19, 8:13 pm)
Re: [PATCH 6/8] drivers-edac-i3000 replace macros with funct...
, Doug Thompson
, (Fri Oct 19, 7:58 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Parag Warudkar
BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0]
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
David Miller
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
945 guests
online.
Online users
strcmp
jessking1982
muebcas98
Syndicate