[lkml]   [2008]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -next] PNP: fix printk format warnings
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.


 \ /
  Last update: 2008-05-04 23:41    [W:0.024 / U:0.956 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site