1. 30 5月, 2016 5 次提交
    • J
      kernel-doc/rst: do not output DOC: section titles for requested ones · 9e72184b
      Jani Nikula 提交于
      If the user requests a specific DOC: section by name, do not output its
      section title. In these cases, the surrounding context already has a
      heading, and the DOC: section title is only used as an identifier and a
      heading for clarity in the source file.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      9e72184b
    • J
      kernel-doc: add names for output selection · b6c3f456
      Jani Nikula 提交于
      Make the output selection a bit more readable by adding constants for
      the various types of output selection. While at it, actually call the
      variable for choosing what to output $output_selection.
      
      No functional changes.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      b6c3f456
    • J
      kernel-doc: add names for states and substates · 48af606a
      Jani Nikula 提交于
      Make the state machine a bit more readable by adding constants for
      parser states and inline member documentation parser substates. While at
      it, rename the "split" documentation to "inline" documentation.
      
      No functional changes.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      48af606a
    • J
      kernel-doc: support printing exported and non-exported symbols · 86ae2e38
      Jani Nikula 提交于
      Currently we use docproc to figure out which symbols are exported, and
      then docproc calls kernel-doc on specific functions, to get
      documentation on exported functions. According to git blame and docproc
      comments, this is due to historical reasons, as functions and their
      corresponding EXPORT_SYMBOL* may have been in different files. However
      for more than ten years the recommendation in CodingStyle has been to
      place the EXPORT_SYMBOL* immediately after the closing function brace
      line.
      
      Additionally, the kernel-doc comments for functions are generally placed
      above the function definition in the .c files (i.e. where the
      EXPORT_SYMBOL* is) rather than above the declaration in the .h
      files. There are some exceptions to this, but AFAICT none of these are
      included in DocBook documentation using the "!E" docproc directive.
      
      Therefore, assuming the EXPORT_SYMBOL* and kernel-doc are with the
      function definition, kernel-doc can extract the exported vs. not
      information by making two passes on the input file. Add support for that
      via the new -export and -internal parameters.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      86ae2e38
    • J
      kernel-doc/rst: fix use of uninitialized value · 5e64fa9c
      Jani Nikula 提交于
      I'm not quite sure why the errors below are happening, but this fixes
      them.
      
      Use of uninitialized value in string ne at ./scripts/kernel-doc line 1819, <IN> line 6494.
      Use of uninitialized value $_[0] in join or string at ./scripts/kernel-doc line 1759, <IN> line 6494.
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      5e64fa9c
  2. 24 5月, 2016 17 次提交
  3. 21 5月, 2016 9 次提交
  4. 20 5月, 2016 3 次提交
  5. 19 5月, 2016 1 次提交
  6. 16 5月, 2016 1 次提交
  7. 14 5月, 2016 4 次提交