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
  • linux
  • scripts
  • kernel-doc
Find file BlameHistoryPermalink
  • Rusty Russell's avatar
    [PATCH] trivial: scripts_kernel-doc: ignoring embedded structs shouldn't be · 2e15f540
    Rusty Russell authored Jul 10, 2004
    
    
    From:  <adobriyan@mail.ru>
    
    Imagine you have a code similar to
    
      struct foo {
      	union {
      		struct tcphdr   *th;
      	} h;
      	union {
      		struct iphdr    *iph;
      	} nh;
      };
    
    kernel-doc in it's current state will happily eat everything from first '{' to
    last '}' and nobody will see parameter 'h' in documentation (look at
    include/linux/skbuff.h:struct sk_buff for real world example).
    
    So, fix the greedy regexp.
    
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2e15f540
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7