Log message:
completely initialize hw_regs_t structure
Modified files:
linux/drivers/ide/legacy:
gayle.c
Index: linux/drivers/ide/legacy/gayle.c
Stats: 1 insertion
http://linux-m68k-cvs.ubb.ca/c/cvsweb/linux/drivers/ide/legacy/gayle%2ec.diff?r1=1.9&r2=1.10
========================================================================
--- gayle.c 3 Nov 2003 21:51:54 -0000 1.9
+++ gayle.c 1 Sep 2005 22:29:58 -0000 1.10
@@ -161,6 +161,7 @@
base = (unsigned long)ZTWO_VADDR(phys_base);
ctrlport = GAYLE_HAS_CONTROL_REG ? (base + GAYLE_CONTROL) : 0;
+ memset(&hw, 0, sizeof(hw));
ide_setup_ports(&hw, base, gayle_offsets,
ctrlport, irqport, ack_intr,
// &gayle_iops,
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k-cvscommit"
in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html