linux-sg2042/drivers/media
Michael Krufky 3117beec7e V4L/DVB (4316): Check __must_check warnings
Check __must_check warnings for class_device_register and class_device_create_file

video_device_create_file was declared as a void, but instead should
return the int value of class_device_create_file.

Move the check from bttv-driver.c into v4l2-dev.h, because all other
callers of video_device_create_file must also be checked.

Replace the call to class_device_create_file in videodev.c with
video_device_create_file, as defined in v4l2-dev.h, so that the
return value of class_device_create_file will be checked.

Check the return value of class_device_register in videodev.c and
pvrusb2-sysfs.c

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-29 17:22:21 -03:00
..
common [PATCH] irq-flags: media: Use the new IRQF_ constants 2006-07-02 13:58:50 -07:00
dvb V4L/DVB (4295): Fix typo in comment for TDA9819 2006-07-29 17:22:12 -03:00
radio Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
video V4L/DVB (4316): Check __must_check warnings 2006-07-29 17:22:21 -03:00
Kconfig V4L/DVB (4214): Make VIDEO_CX2341X a selectable build option 2006-06-26 09:20:56 -03:00
Makefile [PATCH] dvb: avoid building empty built-in.o 2005-09-09 13:57:36 -07:00