public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* resource_size_t and printk()
@ 2006-07-04 20:54 Pierre Ossman
  2006-07-04 21:45 ` Greg KH
  0 siblings, 1 reply; 10+ messages in thread
From: Pierre Ossman @ 2006-07-04 20:54 UTC (permalink / raw)
  To: Greg KH; +Cc: LKML

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.

There might be other commits with the same issue. I just noticed this one.

Rgds
Pierre

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

end of thread, other threads:[~2006-07-13  9:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04 20:54 resource_size_t and printk() Pierre Ossman
2006-07-04 21:45 ` Greg KH
2006-07-05  4:20   ` Pierre Ossman
2006-07-11 23:15     ` Greg KH
2006-07-12  8:18       ` Pierre Ossman
2006-07-12 15:15         ` Randy.Dunlap
2006-07-12 15:33           ` Kyle McMartin
2006-07-12 21:37         ` Greg KH
2006-07-12 22:08           ` Alan Cox
2006-07-13  9:35           ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox