• Andrew Morton's avatar
    [PATCH] trivial: scripts_kernel-doc should strip comments inside structs' · 2d7010fe
    Andrew Morton authored
    From: Rusty Russell <rusty@rustcorp.com.au>
    
    From:  <adobriyan@mail.ru>
    
      Long block comment before declaration moves it out of page in pdfs.
    
      Alexey
    
      $ ./linux-2.6.6-rc2/scripts/kernel-doc.orig -text test.c
      struct stuff:
      struct stuff {
              int a;
              /** comment here*/char b;
      };
      Members:
      a
               aaaa
      b
               bbbbb
      Description:
      stuff
    
      $ ./linux-2.6.6-rc2/scripts/kernel-doc -text test.c
      struct stuff:
      struct stuff {
              int a;
              char b;
      };
      Members:
      a
               aaaa
      b
               bbbbb
      Description:
      stuff
    2d7010fe
kernel-doc 46.7 KB