[RESEND][PATCHv2] v4l2-ioctl: Give more information when device_caps are missing

2015-07-23 Thread Laura Abbott
Currently, the warning for missing device_caps gives a backtrace like so: [] dump_stack+0x45/0x57 [] warn_slowpath_common+0x8a/0xc0 [] warn_slowpath_null+0x1a/0x20 [] v4l_querycap+0x43/0x80 [videodev] [] __video_do_ioctl+0x2a4/0x320 [videodev] [] ? do_last+0x195/0x1210 []

[RESEND][PATCHv2] v4l2-ioctl: Give more information when device_caps are missing

2015-07-23 Thread Laura Abbott
Currently, the warning for missing device_caps gives a backtrace like so: [8175c199] dump_stack+0x45/0x57 [8109ad5a] warn_slowpath_common+0x8a/0xc0 [8109ae8a] warn_slowpath_null+0x1a/0x20 [a0237453] v4l_querycap+0x43/0x80 [videodev] [a0237734]