1. 09 May, 2007 3 commits
  2. 08 May, 2007 5 commits
    • Borislav Petkov's avatar
      kill warnings when building mandocs · 53f049fa
      Borislav Petkov authored
      This patch shuts warnings of the sort:
      
      make -C /mnt/samsung_200/sam/kernel/trees/21-rc6/build \
      	KBUILD_SRC=/mnt/samsung_200/sam/kernel/trees/21-rc6 \
      	KBUILD_EXTMOD="" -f /mnt/samsung_200/sam/kernel/trees/21-rc6/Makefile mandocs
      make -f /mnt/samsung_200/sam/kernel/trees/21-rc6/scripts/Makefile.build obj=scripts/basic
      make -f /mnt/samsung_200/sam/kernel/trees/21-rc6/scripts/Makefile.build obj=Documentation/DocBook mandocs
        SRCTREE=/mnt/samsung_200/sam/kernel/trees/21-rc6/ /mnt/samsung_200/sam/kernel/trees/21-rc6/build/scripts/basic/docproc doc /mnt/samsung_200/sam/kernel/trees/21-rc6/Documentation/DocBook/wanbook.tmpl >Documentation/DocBook/wanbook.xml
        if grep -q refentry Documentation/DocBook/wanbook.xml; then xmlto man -m /mnt/samsung_200/sam/kernel/trees/21-rc6/Documentation/DocBook/stylesheet.xsl -o Documentation/DocBook/man Documentation/DocBook/wanbook.xml ; gzip -f Documentation/DocBook/man/*.9; fi
      Note: meta version: No productnumber or alternative     sppp_close
      Note: meta version: No refmiscinfo@class=version        sppp_close
      Note: Writing sppp_close.9
      Note: meta version: No productnumber or alternative     sppp_open
      Note: meta version: No refmiscinfo@class=version        sppp_open
      
      by adding a RefMiscInfo xml tag in the form of the current kernel version
      to the function, struct and enum definitions in files included by
      kernel-doc when building 'mandocs'.  However, the version string appears
      truncated on the manpage due to some constraints in the xml DTD for the man
      header, I believe, for the troff output is truncated too.
      Signed-off-by: default avatarBorislav Petkov <bbpetkov@yahoo.de>
      Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      53f049fa
    • Randy Dunlap's avatar
      kernel-doc: html mode struct highlights · 3eb014a1
      Randy Dunlap authored
      Johannes Berg reported that struct names are not highlighted
      (bold, italic, etc.) in html kernel-doc output.  (Also not in
      text-mode output, but I don't see that changing.)
      
      This patch adds the following:
      - highlight struct names in html output mode
      - highlight environment var. names in html output mode
      - indent struct fields in the original struct layout
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Johannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3eb014a1
    • Borislav Petkov's avatar
      kernel-doc: handle arrays with arithmetic expressions as initializers · 884f2810
      Borislav Petkov authored
      In a different approach here's a patch that handles the special case of
      composite arithmetic expressions in array size initializers.  With it,
      prior to pushing the split strings on the @first_arg array, I split the
      keywords before the array name as before and then keep the array name along
      with the subscript expression as a single whole element which gets pushed
      last.  In this manner, kernel-doc produces correct output without removing
      whitespaces which makes the array subscripts unreadable in the docs.
      Signed-off-by: default avatarBorislav Petkov <bbpetkov@yahoo.de>
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      884f2810
    • Randy Dunlap's avatar
      scripts: kernel-doc whitespace cleanup · 3c308798
      Randy Dunlap authored
      Whitespace cleanup only:  convert some series of spaces to tabs.
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      3c308798
    • Yasunori Goto's avatar
      Add white list into modpost.c for memory hotplug code and ia64's machvec section · 72280ede
      Yasunori Goto authored
      This patch is add white list into modpost.c for some functions and
      ia64's section to fix section mismatchs.
      
        sparse_index_alloc() and zone_wait_table_init() calls bootmem allocator
        at boot time, and kmalloc/vmalloc at hotplug time. If config
        memory hotplug is on, there are references of bootmem allocater(init text)
        from them (normal text). This is cause of section mismatch.
      
        Bootmem is called by many functions and it must be
        used only at boot time. I think __init of them should keep for
        section mismatch check. So, I would like to register sparse_index_alloc()
        and zone_wait_table_init() into white list.
      
        In addition, ia64's .machvec section is function table of some platform
        dependent code. It is mixture of .init.text and normal text. These
        reference of __init functions are valid too.
      Signed-off-by: default avatarYasunori Goto <y-goto@jp.fujitsu.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      72280ede
  3. 07 May, 2007 1 commit
  4. 06 May, 2007 3 commits
  5. 02 May, 2007 27 commits
  6. 01 Apr, 2007 1 commit
    • Jan Beulich's avatar
      [PATCH] kbuild: fix dependency generation · c21b1e4d
      Jan Beulich authored
      Commit 2e3646e5 changed the way the
      split config tree is built, but failed to also adjust fixdep accordingly
      - if changing a config option from or to m, files referencing the
      respective CONFIG_..._MODULE (but not the corresponding CONFIG_...)
      didn't get rebuilt.
      
      The problem is that trisate symbol are represent with three different
      symbols:
          SYMBOL=n => no symbol defined
          SYMBOL=y => CONFIG_SYMBOL defined to '1'
          SYMBOL=m => CONFIG_SYMBOL_MODULE defined to '1'
      
      But conf_split_config do not distingush between the =y and =m case, so
      only the =y case is honoured.
      
      This is fixed in fixdep so when a CONFIG symbol with _MODULE is found we
      skip that part and only look for the CONFIG_SYMBOL version.
      Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      c21b1e4d