Re: [PATCH v2] v4l: sh_vou: Fix warnings due to improper casts and printk formats

2013-12-06 Thread Laurent Pinchart
On Wednesday 27 November 2013 11:15:27 Laurent Pinchart wrote: Use the %zu printk specifier to print size_t variables, and cast pointers to uintptr_t instead of unsigned int where applicable. This fixes warnings on platforms where pointers and/or dma_addr_t have a different size than int.

[PATCH v2] v4l: sh_vou: Fix warnings due to improper casts and printk formats

2013-11-27 Thread Laurent Pinchart
Use the %zu printk specifier to print size_t variables, and cast pointers to uintptr_t instead of unsigned int where applicable. This fixes warnings on platforms where pointers and/or dma_addr_t have a different size than int. Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Mauro Carvalho