login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
14
Re: rtc-ds1742.c should use resource_size_t for base address
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Josh Boyer <jwboyer@...>
To: David Gibson <david@...>
Cc: Andrew Morton <akpm@...>, Atsushi Nemoto <anemo@...>, <linuxppc-dev@...>, <linux-kernel@...>, <rtc-linux@...>
Subject:
Re: rtc-ds1742.c should use resource_size_t for base address
Date: Friday, September 14, 2007 - 1:20 pm
On Fri, 14 Sep 2007 15:54:27 +1000 David Gibson <david@gibson.dropbear.id.au> wrote:
quoted text
> Currently the rtc driver, rtc-ds1742.c uses an unsigned long to store > the base mmio address of the NVRAM/RTC. This breaks on systems like > PowerPC 440, which is a 32-bit core with 36-bit physical addresses: IO > on the system, including the RTC, is typically above the 4GB point, > and cannot fit into an unsigned long. > > This patch fixes the problem by replacing the unsigned long with a > resource_size_t. Tested on Ebony (PPC440) (with additional patches to > instantiate the ds1742 platform device appropriately).
Where would those additional patches be? :) josh -
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:
rtc-ds1742.c should use resource_size_t for base address
, David Gibson
, (Fri Sep 14, 1:54 am)
Re: rtc-ds1742.c should use resource_size_t for base address
, Josh Boyer
, (Fri Sep 14, 1:20 pm)
Re: rtc-ds1742.c should use resource_size_t for base address
, David Gibson
, (Fri Sep 14, 9:30 pm)
Re: rtc-ds1742.c should use resource_size_t for base address
, Atsushi Nemoto
, (Fri Sep 14, 12:09 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
[patch 02/13] syslets: add syslet.h include file, user API/ABI definitions
Heiko Carstens
Re: 2.6.25-rc6-git6: Reported regressions from 2.6.24
Greg Kroah-Hartman
[PATCH 010/196] Chinese: add translation of Codingstyle
Rafael J. Wysocki
[Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160
git
:
linux-netdev
:
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Linus Torvalds
Re: [GIT]: Networking
Mark Lord
Re: [BUG] New Kernel Bugs
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
775 guests
online.
Online users
strcmp
Syndicate