lkml.org 
[lkml]   [2006]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: resource_size_t and printk()
On Tue, Jul 04, 2006 at 10:54:54PM +0200, Pierre Ossman wrote:
> Hi there!
>
> Your commit b60ba8343b78b182c03cf239d4342785376c1ad1 has been causing me
> a bit of confusion and I thought I'd point out the problem so that you
> can resolve it. :)
>
> resource_size_t is not guaranteed to be a long long, but might be a u64
> or u32 depending on your .config. So you need an explicit cast in the
> printk:s or you get a lot of junk on the output.

That is exactly correct. Is there somewhere in that patch that I forgot
to fix this up properly?

thanks,

greg k-h
-
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/

\
 
 \ /
  Last update: 2006-07-04 23:51    [W:0.447 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site