From: Jay Fenlason Date: Mon, 27 Oct 2008 22:27:37 +0000 (+0100) Subject: firewire: Survive more than 256 bus resets X-Git-Tag: v2.6.27.5~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6021579f54e5b6b31f03fe24de1208a2feb4aec;p=pandora-kernel.git firewire: Survive more than 256 bus resets Same as commit 4f9740d4f5a17fa6a1b097fa3ccdfb7246660307 upstream The "color" is used during the topology building after a bus reset, hovever in "struct fw_node"s it is stored in a u8, but in struct fw_card it is stored in an int. When the value wraps in one struct, but not the other, disaster strikes. Fixes http://bugzilla.kernel.org/show_bug.cgi?id=10922 - machine locks up solid if a series of bus resets occurs. Signed-off-by: Jay Fenlason Signed-off-by: Stefan Richter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed