Jan Engelhardt wrote:
> Hi,
> 
> 
> I noticed in a forum post that the saa716x driver spews warnings on 
> x86_64:
> 
>       http://www.linux-club.de/viewtopic.php?f=41&t=100240
> 
> /home/johnny/Documents/saa716x-e9cc5826649c/v4l/saa716x_dma.c:129: 
> warning: cast from pointer to integer of different size
> 
> as I look into the code (tip just moments ago), that seems to be largely 
> true:
> 
>       /* align memory to page */ 
>       dmabuf->mem_virt = (void *) PAGE_ALIGN (((u32) 
> dmabuf->mem_virt_noalign));
> 
> I always recommend building it not only on x86 to catch such errors.
> Truncating to (u32) is likely to be wrong for 64-bit systems!
> 

Fixed now.

Thanks,
Manu

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to