lkml.org 
[lkml]   [2003]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] add new DMA_ADDR_T_SIZE define
On 19 Feb 2003, David S. Miller wrote:

> On Wed, 2003-02-19 at 09:28, Ion Badulescu wrote:
> > then you're probably debugging, not performance-tuning, so the cast to u64
> > is acceptable.
>
> Not true, you must cast to 'long long' as there is no appropriate
> printf format string for u64 that works warning-free on all
> systems.

Yes, long long and %ll[xd] is what I meant, thanks for the correction.

Ion

--
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.


-
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: 2005-03-22 13:33    [W:0.474 / U:2.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site