kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 08/11] serial: crisv10: formatting of pointers in printk()
@ 2010-07-14 18:04 Kulikov Vasiliy
  2010-07-30 17:31 ` [PATCH 08/11] serial: crisv10: formatting of pointers in Jesper Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: Kulikov Vasiliy @ 2010-07-14 18:04 UTC (permalink / raw)
  To: kernel-janitors
  Cc: Greg Kroah-Hartman, Arnd Bergmann, Jesper Nilsson, Ingo Molnar,
	linux-kernel

Use %p instead of %08x in printk().

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
 drivers/serial/crisv10.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/crisv10.c b/drivers/serial/crisv10.c
index ca47072..1be395a 100644
--- a/drivers/serial/crisv10.c
+++ b/drivers/serial/crisv10.c
@@ -4522,8 +4522,8 @@ static int __init rs_init(void)
 		INIT_WORK(&info->work, do_softint);
 
 		if (info->enabled) {
-			printk(KERN_INFO "%s%d at 0x%x is a builtin UART with DMA\n",
-			       serial_driver->name, info->line, (unsigned int)info->ioport);
+			printk(KERN_INFO "%s%d at %p is a builtin UART with DMA\n",
+			       serial_driver->name, info->line, info->ioport);
 		}
 	}
 #ifdef CONFIG_ETRAX_FAST_TIMER
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 08/11] serial: crisv10: formatting of pointers in
  2010-07-14 18:04 [PATCH 08/11] serial: crisv10: formatting of pointers in printk() Kulikov Vasiliy
@ 2010-07-30 17:31 ` Jesper Nilsson
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Nilsson @ 2010-07-30 17:31 UTC (permalink / raw)
  To: Kulikov Vasiliy
  Cc: kernel-janitors@vger.kernel.org, Greg Kroah-Hartman,
	Arnd Bergmann, Ingo Molnar, linux-kernel@vger.kernel.org

On Wed, Jul 14, 2010 at 08:04:42PM +0200, Kulikov Vasiliy wrote:
> Use %p instead of %08x in printk().
> 
> Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>

Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>

/^JN - Jesper Nilsson
-- 
               Jesper Nilsson -- jesper.nilsson@axis.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-30 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-14 18:04 [PATCH 08/11] serial: crisv10: formatting of pointers in printk() Kulikov Vasiliy
2010-07-30 17:31 ` [PATCH 08/11] serial: crisv10: formatting of pointers in Jesper Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).