diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-10-02 07:47:59 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-07 15:19:50 +0200 |
commit | d92462401dde1effa04a51d0a15000e6246d2a43 (patch) | |
tree | bfb673595f0ecfcbbf7abddcb0d4eee151e15c82 /drivers/media/usb/em28xx/em28xx-dvb.c | |
parent | [media] v4l2-ioctl: add blocks check for VIDIOC_SUBDEV_G/S_EDID (diff) | |
download | linux-d92462401dde1effa04a51d0a15000e6246d2a43.tar.xz linux-d92462401dde1effa04a51d0a15000e6246d2a43.zip |
[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 <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-dvb.c')
0 files changed, 0 insertions, 0 deletions