1. 05 7月, 2014 1 次提交
  2. 24 5月, 2014 1 次提交
  3. 17 4月, 2014 1 次提交
  4. 13 3月, 2014 2 次提交
  5. 06 3月, 2014 5 次提交
  6. 06 3月, 2013 1 次提交
  7. 06 2月, 2013 1 次提交
    • H
      [media] DocBook: fix various validation errors · 07b64b83
      Hans Verkuil 提交于
      Fixed the following errors (with exception of the SVG errors):
        GEN     /home/hans/work/src/v4l/media-git/Documentation/DocBook//v4l2.xml
        rm -rf Documentation/DocBook/index.html; echo '<h1>Linux Kernel HTML Documentation</h1>' >> Documentation/DocBook/index.html && echo '<h2>Kernel Version: 3.8.0-rc1</h2>' >> Documentation/DocBook/index.html && cat Documentation/DocBook/media_api.html >> Documentation/DocBook/index.html
        /tmp/x.xml:883: element revremark: validity error : Element structname is not declared in revremark list of possible children
        /tmp/x.xml:883: element revremark: validity error : Element xref is not declared in revremark list of possible children
        /tmp/x.xml:9580: element xref: validity error : Element xref was declared EMPTY this one has content
        /tmp/x.xml:13508: element link: validity error : Element link does not carry attribute linkend
        /tmp/x.xml:13508: element link: validity error : No declaration for attribute linked of element link
        /tmp/x.xml:16986: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
        /tmp/x.xml:17003: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
        /tmp/x.xml:17022: element imagedata: validity error : Value "SVG" for attribute format of imagedata is not among the enumerated set
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      07b64b83
  8. 21 12月, 2012 2 次提交
  9. 26 11月, 2012 2 次提交
  10. 29 10月, 2012 1 次提交
  11. 06 10月, 2012 1 次提交
  12. 26 9月, 2012 3 次提交
  13. 06 7月, 2012 1 次提交
  14. 14 5月, 2012 1 次提交
    • S
      [media] v4l2: use __u32 rather than enums in ioctl() structs · 6016af82
      Sakari Ailus 提交于
      V4L2 uses the enum type in IOCTL arguments in IOCTLs that were defined until
      the use of enum was considered less than ideal. Recently Rémi Denis-Courmont
      brought up the issue by proposing a patch to convert the enums to unsigned:
      
      <URL:http://www.spinics.net/lists/linux-media/msg46167.html>
      
      This sparked a long discussion where another solution to the issue was
      proposed: two sets of IOCTL structures, one with __u32 and the other with
      enums, and conversion code between the two:
      
      <URL:http://www.spinics.net/lists/linux-media/msg47168.html>
      
      Both approaches implement a complete solution that resolves the problem. The
      first one is simple but requires assuming enums and __u32 are the same in
      size (so we won't break the ABI) while the second one is more complex and
      less clean but does not require making that assumption.
      
      The issue boils down to whether enums are fundamentally different from __u32
      or not, and can the former be substituted by the latter. During the
      discussion it was concluded that the __u32 has the same size as enums on all
      archs Linux is supported: it has not been shown that replacing those enums
      in IOCTL arguments would break neither source or binary compatibility. If no
      such reason is found, just replacing the enums with __u32s is the way to go.
      
      This is what this patch does. This patch is slightly different from Remi's
      first RFC (link above): it uses __u32 instead of unsigned and also changes
      the arguments of VIDIOC_G_PRIORITY and VIDIOC_S_PRIORITY.
      Signed-off-by: NRémi Denis-Courmont <remi@remlab.net>
      Signed-off-by: NSakari Ailus <sakari.ailus@iki.fi>
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6016af82
  15. 11 12月, 2011 1 次提交
  16. 04 11月, 2011 1 次提交
  17. 28 7月, 2011 1 次提交
    • M
      [media] DocBook: Move all media docbook stuff into its own directory · 42661299
      Mauro Carvalho Chehab 提交于
      This patch addresses several issues pointed by Randy Dunlap
      <rdunlap@xenotime.net> at changeset ece722c:
      
      - In the generated index.html file, "media" is listed first, but it
        should be listed in alphabetical order, not first.
      
      - The generated files are (hidden) in .tmpmedia/
      
      - The link from the top-level index.html file to "media" is to
        media/index.html, but the file is actually in .tmpmedia/media/index.html
      
      - Please build docs with and without using "O=builddir" and test that.
      
      - Would it be possible for media to have its own Makefile instead of
        merging into this one?
      
      Due to the way cleandocs target works, I had to rename the media DocBook
      to media_api, otherwise cleandocs would remove the /media directory.
      
      Thanks-to: Randy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      42661299
  18. 21 7月, 2011 1 次提交
    • P
      treewide: fix potentially dangerous trailing ';' in #defined values/expressions · 497888cf
      Phil Carmody 提交于
      All these are instances of
        #define NAME value;
      or
        #define NAME(params_opt) value;
      
      These of course fail to build when used in contexts like
        if(foo $OP NAME)
        while(bar $OP NAME)
      and may silently generate the wrong code in contexts such as
        foo = NAME + 1;    /* foo = value; + 1; */
        bar = NAME - 1;    /* bar = value; - 1; */
        baz = NAME & quux; /* baz = value; & quux; */
      
      Reported on comp.lang.c,
      Message-ID: <ab0d55fe-25e5-482b-811e-c475aa6065c3@c29g2000yqd.googlegroups.com>
      Initial analysis of the dangers provided by Keith Thompson in that thread.
      
      There are many more instances of more complicated macros having unnecessary
      trailing semicolons, but this pile seems to be all of the cases of simple
      values suffering from the problem. (Thus things that are likely to be found
      in one of the contexts above, more complicated ones aren't.)
      Signed-off-by: NPhil Carmody <ext-phil.2.carmody@nokia.com>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      497888cf
  19. 22 3月, 2011 2 次提交
  20. 19 5月, 2010 2 次提交
  21. 27 2月, 2010 1 次提交
  22. 19 9月, 2009 1 次提交