1. 09 9月, 2016 4 次提交
    • M
      [media] fix clock_gettime cross-references · 39b6b900
      Mauro Carvalho Chehab 提交于
      Fix those warnings:
      
      	Documentation/media/uapi/cec/cec-ioc-dqevent.rst:124: WARNING: c:func reference target not found: clock_gettime(2)
      
      By replacing it with the right function name, using this shell script:
      
      	for i in `find Documentation/media -type f`; do sed 's,clock_gettime(2),clock_gettime,' <$i >a && mv a $i; done
      
      Please notice that this will make the nitpick mode to shut up
      complaining about that, becasue clock_gettime is on its exclude list,
      but the cross reference will be undefined until someone documents
      this function at the core documentation.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      39b6b900
    • M
      [media] docs-rst: fix some broken struct references · a17a954e
      Mauro Carvalho Chehab 提交于
      The :c:type: references point to the structure name, and not to
      struct foo.
      
      Fixed via this shell script:
      
      	for i in `find Documentation/media -type f`; do perl -ne 'if (s/\:c\:type\:\`struct\s*(\S+)\`/struct :c:type:`$1`/) { s/struct\s+struct/struct/;  s/(struct\s+\:c\:type\:\`\S+\`)\s+structure/$1/;  } print $_' <$i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      a17a954e
    • M
      [media] docs-rst: simplify c:type: cross references · fc78c7c7
      Mauro Carvalho Chehab 提交于
      Instead of using c:type:`struct foo <foo>`, use:
      	struct c:type:`foo`
      
      This patch was generated via this shell script:
      
      	for i in `find Documentation/media -type f`; do perl -ne 'if (m/\:c\:type\:\`struct\s+(\S+)\s*\<(\S+)\>\`/) { $s=$1; $r=$2; if ($s eq $r) { s/\:c\:type\:\`struct\s+(\S+)\s*\<(\S+)\>\`/struct :c:type:`$2`/; s/struct\s+struct/struct/;  s/(struct\s+\:c\:type\:\`\S+\`)\s+structure/$1/;  }} print $_' <$i >a && mv a $i; done
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      fc78c7c7
    • M
      [media] docs-rst: convert uAPI structs to C domain · e8be7e97
      Mauro Carvalho Chehab 提交于
      instead of declaring the uAPI structs using usual refs, e. g.:
      	.. _foo-struct:
      
      Use the C domain way:
      	.. c:type:: foo_struct
      
      This way, the kAPI documentation can use cross-references to
      point to the uAPI symbols.
      
      That solves about ~100 undefined warnings like:
      	WARNING: c:type reference target not found: foo_struct
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      e8be7e97
  2. 22 8月, 2016 4 次提交
  3. 13 7月, 2016 2 次提交
  4. 12 7月, 2016 1 次提交
  5. 10 7月, 2016 1 次提交
  6. 08 7月, 2016 1 次提交
  7. 05 7月, 2016 2 次提交
  8. 04 7月, 2016 2 次提交
  9. 03 7月, 2016 1 次提交
    • M
      doc-rst: linux_tv: Error codes should be const · cdb4af0f
      Mauro Carvalho Chehab 提交于
      All error codes should be const. Most are, but there are
      lots of places where we forgot to add <constant> at the DocBook.
      
      Fix those via this small script:
      	for i in $(git grep -lE "\s+E[A-Z]+\b" Documentation/linux_tv/); do perl -ne 's,([^\`])\b(E[A-Z]+)\b,\1``\2``,g; print $_' <$i >a && mv a $i; done
      
      As there are false positives, we needed to merge only the changes
      that make sense, skipping the c blocks and skipping things like
      EDID, EN, ETS that were also converted by the above code.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      cdb4af0f
  10. 02 7月, 2016 2 次提交
  11. 01 7月, 2016 1 次提交