Re: aic7xxx driver large integer warning

From: Miguel Angel Flores
Date: Mon Dec 06 2004 - 12:29:42 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/