Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • kernel-doc
Find file BlameHistoryPermalink
  • Gabriel Krisman Bertazi's avatar
    kernel-doc: properly document array arguments of function · ada5f446
    Gabriel Krisman Bertazi authored Jan 09, 2017
    
    
    Documentation for array parameters passed in a function, like the first
    argument in the function below, weren't getting exported in the rst
    format, although they work fine for html and pdf formats:
    
      void drm_clflush_pages(struct page * pages[], unsigned long num_pages)
    
    That's because the string key to store the description in the
    parameterdescs dictionary doesn't have the [] suffix.  This cleans up
    the suffix from the key before accessing the dictionary.
    
    Signed-off-by: default avatarGabriel Krisman Bertazi <krisman@collabora.co.uk>
    Fixes: c0d1b6ee
    
     ("kernel-doc: produce RestructuredText output")
    Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    ada5f446
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7