OpenCloudOS-Kernel/drivers/media/pci/cx25821
Hans Verkuil 60b3b4d2de [media] cx25821: fix sparse warnings
drivers/media/pci/cx25821/cx25821-cards.c:49:20: warning: symbol 'cx25821_bcount' was not declared. Should it be static?
drivers/media/pci/cx25821/cx25821-video-upstream.c:162:33: warning: incorrect type in assignment (different base types)
drivers/media/pci/cx25821/cx25821-video-upstream.c:163:33: warning: incorrect type in assignment (different base types)
drivers/media/pci/cx25821/cx25821-video-upstream.c:164:33: warning: incorrect type in assignment (different base types)
drivers/media/pci/cx25821/cx25821-video-upstream.c:165:33: warning: incorrect type in assignment (different base types)
drivers/media/pci/cx25821/cx25821-medusa-video.h:43:16: warning: symbol '_num_decoders' was not declared. Should it be static?
drivers/media/pci/cx25821/cx25821-medusa-video.h:44:16: warning: symbol '_num_cameras' was not declared. Should it be static?
drivers/media/pci/cx25821/cx25821-medusa-video.h:46:14: warning: symbol '_video_standard' was not declared. Should it be static?
drivers/media/pci/cx25821/cx25821-medusa-video.h:47:5: warning: symbol '_display_field_cnt' was not declared. Should it be static?
After analyzing the last four warnings carefully it became clear that these
variables were really completely unused. As a result of that the call to
medusa_set_decoderduration() is now dubious since the duration is always 0.
Without documentation, however, I can't tell what the right value is.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-10-17 06:16:46 -03:00
..
Kconfig [media] cx25821: remove bogus dependencies 2013-04-16 18:03:27 -03:00
Makefile [media] cx25821: remove cx25821-audio-upstream.c from the Makefile 2013-04-16 18:13:06 -03:00
cx25821-alsa.c [media] cx25821-alsa: get rid of a __must_check warning 2013-04-25 16:12:04 -03:00
cx25821-audio-upstream.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2013-05-01 17:51:54 -07:00
cx25821-audio-upstream.h
cx25821-audio.h
cx25821-biffuncs.h [media] cx25821: get rid of warning: no previous prototype 2012-10-27 18:02:07 -02:00
cx25821-cards.c [media] cx25821: fix sparse warnings 2013-10-17 06:16:46 -03:00
cx25821-core.c [media] cx25821: remove cx25821-audio-upstream.c from the Makefile 2013-04-16 18:13:06 -03:00
cx25821-gpio.c [media] cx25821: remove bogus dependencies 2013-04-16 18:03:27 -03:00
cx25821-i2c.c [media] cx25821: remove bogus dependencies 2013-04-16 18:03:27 -03:00
cx25821-medusa-defines.h
cx25821-medusa-reg.h
cx25821-medusa-video.c [media] cx25821: fix sparse warnings 2013-10-17 06:16:46 -03:00
cx25821-medusa-video.h [media] cx25821: fix sparse warnings 2013-10-17 06:16:46 -03:00
cx25821-reg.h
cx25821-sram.h
cx25821-video-upstream.c [media] cx25821: fix sparse warnings 2013-10-17 06:16:46 -03:00
cx25821-video-upstream.h
cx25821-video.c [media] cx25821-video: declare cx25821_vidioc_s_std as static 2013-04-25 16:07:11 -03:00
cx25821-video.h [media] cx25821: setup output nodes correctly 2013-04-16 18:09:57 -03:00
cx25821.h [media] cx25821: replace custom ioctls with write() 2013-04-16 18:12:34 -03:00