Re: [PATCH -next] PNP: fix printk format warnings

From: Rene Herman
Date: Sun May 04 2008 - 17:39:37 EST


On 04-05-08 23:05, Randy Dunlap wrote:

My original patch did (int) cast but Joe suggested using unsigned long
long. I didn't expect DMA channel or irq to be anywhere near that large,
so I thought that (int) would be sufficient, at the same time recognizing
that it does/could truncate the value, while ull won't truncate.

Yes, (int) would've been fine. It's (int) in PnPACPI as well which is what I remebered seeing. Doesn't matter much ofcourse.

Rene.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/