Skip to content
Snippets Groups Projects
  1. Jan 31, 2007
  2. Jan 12, 2007
  3. Jan 11, 2007
    • Vivek Goyal's avatar
      [PATCH] x86-64: Modpost whitelist reference to more symbols (pattern 3) · ee6a8545
      Vivek Goyal authored
      
      o MODPOST generates warning on i386 if kernel is compiled with
        CONFIG_RELOCATABLE=y.
      
      WARNING: vmlinux - Section mismatch: reference to .init.text:__init_begin from .text between 'free_initmem' (at offset 0xc0114fd3) and 'do_test_wp_bit'
      WARNING: vmlinux - Section mismatch: reference to .init.text:_sinittext from .text between 'core_kernel_text' (at offset 0xc012aeae) and 'kernel_text_address'
      WARNING: vmlinux - Section mismatch: reference to .init.text:_einittext from .text between 'core_kernel_text' (at offset 0xc012aeb7) and 'kernel_text_address'
      WARNING: vmlinux - Section mismatch: reference to .init.text:_sinittext from .text between 'get_symbol_pos' (at offset 0xc0135776) and 'reset_iter'
      WARNING: vmlinux - Section mismatch: reference to .init.text:_einittext from .text between 'get_symbol_pos' (at offset 0xc013577d) and 'reset_iter'
      
      o These symbols (__init_begin, _sinittext, _einittext) belong to init
        section and generally represent a section boundary. These are special
        symbols in the sense that their size is zero and no memory is allocated
        for them in init section. Their addr and value are same. So even if
        we free the init section, it is ok to reference them.
      
      o Whitelist access to such select symbols in MODPOST.
      
      Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      ee6a8545
    • Vivek Goyal's avatar
      [PATCH] x86-64: modpost add more symbols to whitelist pattern2 · 118c0ace
      Vivek Goyal authored
      
      o MODPOST generates warning for i386 if compiled with CONFIG_RELOCATABLE=y
        and serial console support is enabled.
      
      o Serial console setup function, serial8250_console_setup(), is a non __init
        function and it calls functions which are of type __init().
        (uart_parse_options() and uart_set_options()). Assuming, setup will
        be called during init time, changing serial8250_console_setup() to __init.
      
      o Adding one more pattern to modpost whitelist. Console drivers might
        have *_console structures containing references to setup functions which
        can be of __init type. Don't generate warnings for those.
      
      WARNING: vmlinux - Section mismatch: reference to .init.text: from .data between 'serial8250_console' (at offset 0xc05a33d8) and 'serial8250_reg'
      
      Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: default avatarAndi Kleen <ak@suse.de>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Andi Kleen <ak@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      118c0ace
  4. Jan 06, 2007
  5. Dec 22, 2006
  6. Dec 13, 2006
  7. Dec 10, 2006
  8. Dec 08, 2006
  9. Dec 07, 2006
  10. Nov 25, 2006
  11. Nov 13, 2006
  12. Nov 03, 2006
  13. Oct 25, 2006
  14. Oct 17, 2006
  15. Oct 11, 2006
    • Randy Dunlap's avatar
      [PATCH] kernel-doc: make parameter description indentation uniform · 27205744
      Randy Dunlap authored
      
      - In parameter descriptions, strip all whitespace between the parameter
        name (e.g., @len) and its description so that the description is
        indented uniformly in text and man page modes.  Previously, spaces
        or tabs (which are used for cleaner source code viewing) affected
        the produced output in a negative way.
      
      Before (man mode):
             to            Destination address, in user space.
             from        Source address, in kernel space.
             n              Number of bytes to copy.
      
      After (man mode):
             to          Destination address, in user space.
             from        Source address, in kernel space.
             n           Number of bytes to copy.
      
      - Fix/clarify a few function description comments.
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      27205744
    • Randy Dunlap's avatar
      [PATCH] kernel-doc: drop various "inline" qualifiers · 32e79401
      Randy Dunlap authored
      
      Drop __inline, __always_inline, and noinline in the produced kernel-doc
      output, similar to other pseudo directives.
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      32e79401
    • Luca Tettamanti's avatar
      [PATCH] Fix menuconfig build failure due to missing stdbool.h · 1db11ea6
      Luca Tettamanti authored
      
      scripts/kconfig/lxdialog/util.c fails to build because it uses
      true/false without including stdbool.h:
      
      kronos:~/src/linux-2.6$ make O=../linux-build-git menuconfig
        GEN     /home/kronos/src/linux-build/Makefile
        HOSTCC  scripts/kconfig/lxdialog/util.o
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_classic_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: 'true' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: (Each undeclared identifier is reported only once
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: for each function it appears in.)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:70: error: 'false' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_blackbg_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:101: error: 'true' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:102: error: 'false' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_bluetitle_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:144: error: 'true' undeclared (first use in this function)
      make[2]: *** [scripts/kconfig/lxdialog/util.o] Error 1
      make[1]: *** [menuconfig] Error 2
      make: *** [menuconfig] Error 2
      
      Add <stdbool.h> to dialog.h to fix the breakage.
      
      Signed-off-by: default avatarLuca Tettamanti <kronos.it@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      1db11ea6
  16. Oct 04, 2006
  17. Oct 03, 2006
  18. Oct 01, 2006
  19. Sep 30, 2006
Loading