3117beec7e
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> |
||
---|---|---|
.. | ||
audiochip.h | ||
cs53l32a.h | ||
cx2341x.h | ||
cx25840.h | ||
i2c-addr.h | ||
ir-common.h | ||
ir-kbd-i2c.h | ||
msp3400.h | ||
ovcamchip.h | ||
pwc-ioctl.h | ||
rds.h | ||
saa6752hs.h | ||
saa7115.h | ||
saa7127.h | ||
saa7146_vv.h | ||
saa7146.h | ||
tuner-types.h | ||
tuner.h | ||
tvaudio.h | ||
tveeprom.h | ||
tvp5150.h | ||
upd64031a.h | ||
upd64083.h | ||
v4l2-common.h | ||
v4l2-dev.h | ||
video-buf-dvb.h | ||
video-buf.h | ||
wm8775.h |