1. 21 10月, 2015 1 次提交
  2. 01 10月, 2015 1 次提交
  3. 11 8月, 2015 2 次提交
    • P
      [media] v4l2: move tracepoint generation into separate file · 9deb6ad6
      Philipp Zabel 提交于
      To compile videobuf2-core as a module, the vb2_* tracepoints must be
      exported from the videodev module. Instead of exporting vb2 tracepoint
      symbols from v4l2-ioctl.c, move the tracepoint generation into a separate
      file. This patch fixes the following build error in the modpost stage,
      introduced by 2091f518 ("[media] videobuf2: add trace events"):
      
          ERROR: "__tracepoint_vb2_buf_done" undefined!
          ERROR: "__tracepoint_vb2_dqbuf" undefined!
          ERROR: "__tracepoint_vb2_qbuf" undefined!
          ERROR: "__tracepoint_vb2_buf_queue" undefined!
      Suggested-by: NSteven Rostedt <rostedt@goodmis.org>
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      9deb6ad6
    • L
      [media] v4l2-ioctl: Give more information when device_caps are missing · 6d7570c4
      Laura Abbott 提交于
      Currently, the warning for missing device_caps gives a backtrace like so:
      
      [<ffffffff8175c199>] dump_stack+0x45/0x57
      [<ffffffff8109ad5a>] warn_slowpath_common+0x8a/0xc0
      [<ffffffff8109ae8a>] warn_slowpath_null+0x1a/0x20
      [<ffffffffa0237453>] v4l_querycap+0x43/0x80 [videodev]
      [<ffffffffa0237734>] __video_do_ioctl+0x2a4/0x320 [videodev]
      [<ffffffff812207e5>] ? do_last+0x195/0x1210
      [<ffffffffa023a11e>] video_usercopy+0x22e/0x5b0 [videodev]
      [<ffffffffa0237490>] ? v4l_querycap+0x80/0x80 [videodev]
      [<ffffffffa023a4b5>] video_ioctl2+0x15/0x20 [videodev]
      [<ffffffffa0233733>] v4l2_ioctl+0x113/0x150 [videodev]
      [<ffffffff81225798>] do_vfs_ioctl+0x2f8/0x4f0
      [<ffffffff8113b2d4>] ? __audit_syscall_entry+0xb4/0x110
      [<ffffffff81022d7c>] ? do_audit_syscall_entry+0x6c/0x70
      [<ffffffff81225a11>] SyS_ioctl+0x81/0xa0
      [<ffffffff8113b526>] ? __audit_syscall_exit+0x1f6/0x2a0
      [<ffffffff81763549>] system_call_fastpath+0x12/0x17
      
      This indicates that device_caps are missing but doesn't give
      much of a clue which driver is actually at fault. Improve
      the warning output by showing the capabilities and the
      responsible driver.
      Signed-off-by: NLaura Abbott <labbott@fedoraproject.org>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      6d7570c4
  4. 06 6月, 2015 2 次提交
  5. 05 6月, 2015 1 次提交
  6. 30 5月, 2015 2 次提交
  7. 01 5月, 2015 2 次提交
  8. 03 4月, 2015 2 次提交
  9. 03 3月, 2015 1 次提交
  10. 23 12月, 2014 1 次提交
  11. 17 12月, 2014 1 次提交
  12. 02 12月, 2014 1 次提交
  13. 25 11月, 2014 1 次提交
  14. 24 9月, 2014 1 次提交
  15. 03 9月, 2014 1 次提交
    • H
      [media] v4l2-ioctl: fix sparse warnings · 4d1afa51
      Hans Verkuil 提交于
      drivers/media/v4l2-core/v4l2-ioctl.c:1156:53: warning: incorrect type in initializer (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:1158:42: warning: incorrect type in initializer (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:1161:34: warning: incorrect type in assignment (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:1163:35: warning: incorrect type in assignment (different address spaces)
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      4d1afa51
  16. 22 7月, 2014 2 次提交
  17. 18 7月, 2014 6 次提交
  18. 17 7月, 2014 4 次提交
  19. 05 7月, 2014 1 次提交
  20. 23 5月, 2014 1 次提交
  21. 17 4月, 2014 1 次提交
    • H
      [media] v4l2-ioctl.c: fix sparse __user-related warnings · ba2d35c1
      Hans Verkuil 提交于
      Fix the use of __user in the check_array_args() prototype: instead of
      using 'void * __user *' you should use 'void __user **' for sparse to
      understand this correctly.
      
      This also required the use of __force in the '*kernel_ptr = user_ptr'
      assignment.
      
      Also replace a wrong cast (void *) with the correct one (void **)
      in check_array_args().
      
      This fixes these sparse warnings:
      
      drivers/media/v4l2-core/v4l2-ioctl.c:2284:35: warning: incorrect type in assignment (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:2301:35: warning: incorrect type in assignment (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:2319:35: warning: incorrect type in assignment (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:2386:57: warning: incorrect type in argument 4 (different address spaces)
      drivers/media/v4l2-core/v4l2-ioctl.c:2420:29: warning: incorrect type in assignment (different address spaces)
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      ba2d35c1
  22. 13 3月, 2014 1 次提交
  23. 11 3月, 2014 1 次提交
  24. 06 3月, 2014 3 次提交