From: Kristian Høgsberg Date: Tue, 27 Mar 2007 14:42:39 +0000 (-0500) Subject: firewire: Don't set card->irm_node before we have a new valid topology. X-Git-Tag: v2.6.22-rc1~111^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93e4fd455c62085cdceea3af4c56d95758d3cb74;p=pandora-kernel.git firewire: Don't set card->irm_node before we have a new valid topology. In case the topology build fails, we want to retain the old topology info until another reset finishes and results in a valid new tree. If we clear card->irm_node to NULL and the topology build fails, we end up dereferencing a NULL pointer in a few places. Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- Reading git-diff-tree failed