1. 20 5月, 2012 1 次提交
  2. 28 7月, 2011 2 次提交
    • J
      [media] drivers/media/video: add missing kfree · ee893e9a
      Julia Lawall 提交于
      Free the recently allocated qcam in each case.
      
      The semantic match that finds this problem is as follows:
      
      // <smpl>
      @r@
      identifier x;
      @@
      
      kfree(x)
      
      @@
      identifier r.x;
      expression E1!=0,E2,E3,E4;
      statement S;
      @@
      
      (
      if (<+...x...+>) S
      |
      if (...) { ... when != kfree(x)
                     when != if (...) { ... kfree(x); ... }
                     when != x = E3
      * return E1;
      }
      ... when != x = E2
      if (...) { ... when != x = E4
       kfree(x); ... return ...; }
      )
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      ee893e9a
    • M
      [media] Stop using linux/version.h on most video drivers · 1990d50b
      Mauro Carvalho Chehab 提交于
      All the modified drivers didn't have any version increment since
      Jan, 1 2011. Several of them didn't have any version increment
      for a long time, even having new features and important bug fixes
      happening.
      
      As we're now filling the QUERYCAP version with the current Kernel
      Release, we don't need to maintain a per-driver version control
      anymore. So, let's just use the default.
      
      In order to preserve the Kernel module version history, a
      KERNEL_VERSION() macro were added to all modified drivers, and
      the extraver number were incremented.
      
      I opted to preserve the per-driver version control to a few
      pwc, pvrusb2, s2255, s5p-fimc and sh_vou.
      
      A few drivers are still using the legacy way to handle ioctl's.
      So, we can't do such change on them, otherwise, they'll break.
      Those are: uvc, et61x251 and sn9c102.
      
      The rationale is that the per-driver version control seems to be
      actively maintained on those.
      
      Yet, I think that the better for them would be to just use the
      default version numbering, instead of doing that by themselves.
      
      While here, removed a few uneeded include linux/version.h
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1990d50b
  3. 02 12月, 2010 1 次提交
  4. 01 6月, 2010 1 次提交
  5. 18 5月, 2010 1 次提交
  6. 14 8月, 2009 1 次提交
  7. 03 1月, 2009 2 次提交
  8. 30 12月, 2008 1 次提交
  9. 12 10月, 2008 3 次提交
  10. 04 9月, 2008 1 次提交
  11. 27 7月, 2008 1 次提交
  12. 26 7月, 2008 1 次提交
  13. 24 7月, 2008 1 次提交
  14. 25 4月, 2008 2 次提交
  15. 26 1月, 2008 1 次提交
  16. 22 10月, 2007 1 次提交
  17. 10 10月, 2007 2 次提交
  18. 13 2月, 2007 1 次提交
  19. 25 6月, 2006 2 次提交
  20. 25 3月, 2006 1 次提交
  21. 07 2月, 2006 1 次提交
  22. 10 1月, 2006 1 次提交
    • A
      V4L (926_2): Moves compat32 functions from fs to v4l subsystem · 0d0fbf81
      Arnd Bergmann 提交于
      This moves the 32 bit ioctl compatibility handlers for
      Video4Linux into a new file and adds explicit calls to them
      to each v4l device driver.
      
      Unfortunately, there does not seem to be any code handling
      the v4l2 ioctls, so quite often the code goes through two
      separate conversions, first from 32 bit v4l to 64 bit v4l,
      and from there to 64 bit v4l2. My patch does not change
      that, so there is still much room for improvement.
      
      Also, some drivers have additional ioctl numbers, for
      which the conversion should be handled internally to
      that driver.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
      0d0fbf81
  23. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4