Hi Philipp,

Thanks for the patch.

On Thu, Feb 27, 2014 at 10:14 PM, Philipp Zabel <p.za...@pengutronix.de> wrote:
> This patch fixes the following warning:
>
> drivers/media/i2c/tvp5150.c: In function '__tvp5150_try_crop':
> include/linux/kernel.h:762:17: warning: comparison of distinct pointer types 
> lacks a cast [enabled by default]
>   (void) (&__val == &__min);  \
>                  ^
> drivers/media/i2c/tvp5150.c:886:16: note: in expansion of macro 'clamp'
>   rect->width = clamp(rect->width,
>                 ^
> include/linux/kernel.h:763:17: warning: comparison of distinct pointer types 
> lacks a cast [enabled by default]
>   (void) (&__val == &__max);  \
>                  ^
> drivers/media/i2c/tvp5150.c:886:16: note: in expansion of macro 'clamp'
>   rect->width = clamp(rect->width,
>                 ^
> include/linux/kernel.h:762:17: warning: comparison of distinct pointer types 
> lacks a cast [enabled by default]
>   (void) (&__val == &__min);  \
>                  ^
> drivers/media/i2c/tvp5150.c:904:17: note: in expansion of macro 'clamp'
>   rect->height = clamp(rect->height,
>                  ^
> include/linux/kernel.h:763:17: warning: comparison of distinct pointer types 
> lacks a cast [enabled by default]
>   (void) (&__val == &__max);  \
>                  ^
> drivers/media/i2c/tvp5150.c:904:17: note: in expansion of macro 'clamp'
>   rect->height = clamp(rect->height,
>                  ^
>
> Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>

Acked-by: Lad, Prabhakar <prabhakar.cse...@gmail.com>

Thanks,
--Prabhakar Lad
--
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