lkml.org 
[lkml]   [2004]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: aic7xxx driver large integer warning
Alan Cox wrote:

>Add (dma_addr_t) casts and it will go away. The compiler just wants to
>know you mean it.
>
>
Sure, but the 39 bit variable is only used when the type of dma_addr_t
is u64. I think that is more clean to put this assignement inside the if
block, like the rest of the CONFIG_HIGHMEM64G code. Anyway the
(dma_addr_t) cast can be added too.

¿how you would solve this?

Cheers,
MaF

-
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 14:08    [W:0.271 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site