From: Hans Verkuil Date: Tue, 2 Oct 2012 05:47:59 +0000 (-0300) Subject: [media] v4l2-ioctl: fix W=1 warnings X-Git-Tag: v3.7-rc1~38^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92462401dde1effa04a51d0a15000e6246d2a43;p=pandora-kernel.git [media] v4l2-ioctl: fix W=1 warnings Since the prt_names() macro is always called with an unsigned index the ((a) >= 0) condition is always true and gives a compiler warning when compiling with W=1. Rewrite the macro to avoid that warning, but cast the index to unsigned just in case it is ever called with a signed argument. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed