18 Apr, 2006

1 commit

  • Fix a crash when running hpacucli with multiple logical volumes on a cciss
    controller. We were not properly initializing the disk->queue and causing
    a fault.

    Thanks to Hasso Tepper for reporting the problem. Thanks to Steve Cameron
    for root causing the problem. Most of the patch just moves things around.
    The fix is a one-liner.

    Signed-off-by: Mike Miller
    Signed-off-by: Stephen Cameron
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Mike Miller
     

01 Apr, 2006

1 commit

  • The boot cmdline is parsed in parse_early_param() and
    parse_args(,unknown_bootoption).

    And __setup() is used in obsolete_checksetup().

    start_kernel()
    -> parse_args()
    -> unknown_bootoption()
    -> obsolete_checksetup()

    If __setup()'s callback (->setup_func()) returns 1 in
    obsolete_checksetup(), obsolete_checksetup() thinks a parameter was
    handled.

    If ->setup_func() returns 0, obsolete_checksetup() tries other
    ->setup_func(). If all ->setup_func() that matched a parameter returns 0,
    a parameter is seted to argv_init[].

    Then, when runing /sbin/init or init=app, argv_init[] is passed to the app.
    If the app doesn't ignore those arguments, it will warning and exit.

    This patch fixes a wrong usage of it, however fixes obvious one only.

    Signed-off-by: OGAWA Hirofumi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    OGAWA Hirofumi
     

29 Mar, 2006

7 commits


27 Mar, 2006

7 commits


26 Mar, 2006

6 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/aoe-2.6:
    [PATCH] aoe [3/3]: update version to 22
    [PATCH] aoe [2/3]: don't request ATA device ID on ATA error
    [PATCH] aoe [1/3]: support multiple AoE listeners
    [PATCH] aoe: do not stop retransmit timer when device goes down
    [PATCH] aoe [8/8]: update driver version number
    [PATCH] aoe [7/8]: update driver compatibility string
    [PATCH] aoe [6/8]: update device information on last close
    [PATCH] aoe [5/8]: allow network interface migration on packet retransmit
    [PATCH] aoe [4/8]: use less confusing driver name
    [PATCH] aoe [3/8]: increase allowed outstanding packets
    [PATCH] aoe [2/8]: support dynamic resizing of AoE devices
    [PATCH] aoe [1/8]: zero packet data after skb allocation

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial: (21 commits)
    BUG_ON() Conversion in drivers/video/
    BUG_ON() Conversion in drivers/parisc/
    BUG_ON() Conversion in drivers/block/
    BUG_ON() Conversion in sound/sparc/cs4231.c
    BUG_ON() Conversion in drivers/s390/block/dasd.c
    BUG_ON() Conversion in lib/swiotlb.c
    BUG_ON() Conversion in kernel/cpu.c
    BUG_ON() Conversion in ipc/msg.c
    BUG_ON() Conversion in block/elevator.c
    BUG_ON() Conversion in fs/coda/
    BUG_ON() Conversion in fs/binfmt_elf_fdpic.c
    BUG_ON() Conversion in input/serio/hil_mlc.c
    BUG_ON() Conversion in md/dm-hw-handler.c
    BUG_ON() Conversion in md/bitmap.c
    The comment describing how MS_ASYNC works in msync.c is confusing
    rcu: undeclared variable used in documentation
    fix typos "wich" -> "which"
    typo patch for fs/ufs/super.c
    Fix simple typos
    tabify drivers/char/Makefile
    ...

    Linus Torvalds
     
  • Initramfs initrd images do not need a ramdisk device, so remove this
    restriction in Kconfig. BLK_DEV_RAM=n saves about 13k on i386. Also
    without ramdisk device there's no need for "dry run", so initramfs unpacks
    much faster.

    People using cramfs, squashfs, or gzipped ext2/minix initrd images are
    probably smart enough not to turn off ramdisk support by accident.

    Cc: Al Viro
    Cc: Christoph Hellwig
    Cc: "H. Peter Anvin"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Zdenek Pavlas
     
  • In latest -mm a number of section mismatch warnings are generated for
    floppy.o like the following:

    WARNING: drivers/block/floppy.o - Section mismatch: reference to \
    .init.data: from .text between 'init_module' (at offset 0x6976) and \
    'cleanup_module'

    The warning are caused by a reference to floppy_init() which is __init from
    init_module() which is not declared __init. Declaring init_module() _init
    fixes this.

    Signed-off-by: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sam Ravnborg
     
  • MODULE_PARM was actually breaking: recent gcc version optimize them out as
    unused. It's time to replace the last users, which are generally in the
    most unloved drivers anyway.

    Signed-off-by: Rusty Russell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • If we can detect a problem at compile time, the compilation should fail.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     

25 Mar, 2006

1 commit


24 Mar, 2006

16 commits


23 Mar, 2006

1 commit

  • Semaphore to mutex conversion.

    The conversion was generated via scripts, and the result was validated
    automatically via a script as well.

    Signed-off-by: Ingo Molnar
    Cc: Paul Clements
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar