From: Roman Zippel Date: Fri, 23 Jun 2006 09:04:51 +0000 (-0700) Subject: [PATCH] m68k: completely initialize hw_regs_t in ide_setup_ports X-Git-Tag: v2.6.18-rc1~1081^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c3e0262e0cb5395fe02cdf27c229ee7414ab0c0;p=pandora-kernel.git [PATCH] m68k: completely initialize hw_regs_t in ide_setup_ports 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 Cc: Bartlomiej Zolnierkiewicz Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed