Tag: 728385c4d31469b9124953f36fb42015435466c9

V4L/DVB: drivers/media/video: move dereference after NULL test

Author: Julia Lawall <julia@diku.dk> In quickcam_messenger.c, if the NULL test on uvd is needed, then the dereference should be after the NULL test. In vpif_display.c, std_info is initialized to the address of a structure field. This seems unlikely to be NULL. Test std_info->stdid instead. In saa7134-alsa.c, the function is only called from one place, where …

Continue reading