lkml.org 
[lkml]   [2000]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: __release_region() printf format
Hi!

> __release_region() always uses `%04lx', while start and end may be larger
> (e.g. for release_mem_region()).

What about making it %lx-%lx without any numbers?
Pavel


> --- linux-2.4.0-test9-pre2/kernel/resource.c.orig Mon Jul 17 15:24:34 2000
> +++ linux-2.4.0-test9-pre2/kernel/resource.c Mon Sep 18 16:15:33 2000
> @@ -288,7 +288,7 @@
> }
> p = &res->sibling;
> }
> - printk("Trying to free nonexistent resource <%04lx-%04lx>\n", start, end);
> + printk("Trying to free nonexistent resource <%08lx-%08lx>\n", start, end);
> }
>
> /*
>
> Gr{oetje,eeting}s,

--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.030 / U:5.312 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site