The patch titled m68k: completely initialize hw_regs_t in ide_setup_ports has been added to the -mm tree. Its filename is m68k-completely-initialize-hw_regs_t-in-ide_setup_ports.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: m68k: completely initialize hw_regs_t in ide_setup_ports From: Roman Zippel <zippel@xxxxxxxxxxxxxx> ide_setup_ports does not completely initialize the hw_regs_t structure which can cause random failures, as the structure is often on the stack. None of the callers expect a partially initialized structure, i.e. none of them do any setup of their own before calling ide_setup_ports(). Signed-off-by: Roman Zippel <zippel@xxxxxxxxxxxxxx> Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@xxxxxxxxxxxxxx> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/ide/ide.c | 1 + drivers/ide/legacy/q40ide.c | 1 + 2 files changed, 2 insertions(+) diff -puN drivers/ide/ide.c~m68k-completely-initialize-hw_regs_t-in-ide_setup_ports drivers/ide/ide.c --- devel/drivers/ide/ide.c~m68k-completely-initialize-hw_regs_t-in-ide_setup_ports 2006-05-24 18:32:18.000000000 -0700 +++ devel-akpm/drivers/ide/ide.c 2006-05-24 18:32:18.000000000 -0700 @@ -726,6 +726,7 @@ void ide_setup_ports ( hw_regs_t *hw, { int i; + memset(hw, 0, sizeof(hw_regs_t)); for (i = 0; i < IDE_NR_PORTS; i++) { if (offsets[i] == -1) { switch(i) { diff -puN drivers/ide/legacy/q40ide.c~m68k-completely-initialize-hw_regs_t-in-ide_setup_ports drivers/ide/legacy/q40ide.c --- devel/drivers/ide/legacy/q40ide.c~m68k-completely-initialize-hw_regs_t-in-ide_setup_ports 2006-05-24 18:32:18.000000000 -0700 +++ devel-akpm/drivers/ide/legacy/q40ide.c 2006-05-24 18:32:18.000000000 -0700 @@ -80,6 +80,7 @@ void q40_ide_setup_ports ( hw_regs_t *hw { int i; + memset(hw, 0, sizeof(hw_regs_t)); for (i = 0; i < IDE_NR_PORTS; i++) { /* BIG FAT WARNING: assumption: only DATA port is ever used in 16 bit mode */ _ Patches currently in -mm which might be from zippel@xxxxxxxxxxxxxx are kconfig-improve-config-load-save-output.patch kconfig-fix-config-dependencies.patch kconfig-remove-symbol_yesmodno.patch kconfig-allow-multiple-default-values-per-symbol.patch kconfig-allow-loading-multiple-configurations.patch kconfig-integrate-split-config-into-silentoldconfig.patch kconfig-move-kernelrelease.patch kconfig-add-symbol-option-config-syntax.patch kconfig-add-defconfig_list-module-option.patch kconfig-add-search-option-for-xconfig.patch kconfig-finer-customization-via-popup-menus.patch kconfig-create-links-in-info-window.patch kconfig-jump-to-linked-menu-prompt.patch kconfig-warn-about-leading-whitespace-for-menu-prompts.patch kconfig-remove-leading-whitespace-in-menu-prompts.patch config-exit-if-no-beginning-filename.patch make-kernelrelease-speedup.patch kconfig-kconfig_overwriteconfig.patch m68k-completely-initialize-hw_regs_t-in-ide_setup_ports.patch m68k-atyfb_base-compile-fix-for-config_pci=n.patch m68k-cleanup-unistdh.patch m68k-remove-some-unused-definitions-in-zorroh.patch m68k-use-c99-initializer.patch m68k-print-correct-stack-trace.patch m68k-restore-amikbd-compatibility-with-24.patch m68k-extra-delay.patch m68k-use-proper-defines-for-zone-initialization.patch m68k-adjust-to-changed-hardirq_mask.patch m68k-m68k-mac-via2-fixes-and-cleanups.patch fix-incorrect-sa_onstack-behaviour-for-64-bit-processes.patch adjust-handle_irr_event-return-type.patch fix-kbuild-dependencies-for-synclink-drivers.patch time-use-clocksource-abstraction-for-ntp-adjustments-optimize-out-some-mults-since-gcc-cant-avoid-them.patch time-rename-clocksource-functions.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html