From: Randy Dunlap <randy.dunlap@oracle.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH] acpi_pm: re-fix printk format (was: timer updates for 2.6.27)
Date: Tue, 15 Jul 2008 11:59:51 -0700 [thread overview]
Message-ID: <20080715115951.95f7917d.randy.dunlap@oracle.com> (raw)
In-Reply-To: <alpine.LFD.1.10.0807151100140.3017@woody.linux-foundation.org>
From: Randy Dunlap <randy.dunlap@oracle.com>
Re-fix printk format warning in acpi_pm clocksource.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/clocksource/acpi_pm.c | 6 +++---
include/linux/acpi_pmtmr.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
[still looking for penance task]
--- linhead.orig/drivers/clocksource/acpi_pm.c
+++ linhead/drivers/clocksource/acpi_pm.c
@@ -28,7 +28,7 @@
* The location is detected during setup_arch(),
* in arch/i386/kernel/acpi/boot.c
*/
-u32 pmtmr_ioport __read_mostly;
+unsigned long pmtmr_ioport __read_mostly;
static inline u32 read_pmtmr(void)
{
@@ -227,8 +227,8 @@ static int __init parse_pmtmr(char *arg)
if (strict_strtoul(arg, 16, &base))
return -EINVAL;
- printk(KERN_INFO "PMTMR IOPort override: 0x%04x -> 0x%04lx\n",
- (unsigned int)pmtmr_ioport, base);
+ printk(KERN_INFO "PMTMR IOPort override: 0x%04lx -> 0x%04lx\n",
+ pmtmr_ioport, base);
pmtmr_ioport = base;
return 1;
--- linhead.orig/include/linux/acpi_pmtmr.h
+++ linhead/include/linux/acpi_pmtmr.h
@@ -15,7 +15,7 @@
#ifdef CONFIG_X86_PM_TIMER
extern u32 acpi_pm_read_verified(void);
-extern u32 pmtmr_ioport;
+extern unsigned long pmtmr_ioport;
static inline u32 acpi_pm_read_early(void)
{
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
prev parent reply other threads:[~2008-07-15 19:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 16:28 [GIT pull] timer updates for 2.6.27 Thomas Gleixner
2008-07-15 17:59 ` Linus Torvalds
2008-07-15 18:01 ` Linus Torvalds
2008-07-15 18:59 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080715115951.95f7917d.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®