From: Li Yang Date: Wed, 17 Jan 2007 06:42:22 +0000 (+0800) Subject: [POWERPC] Fix OF node refcnt underflow in 836x and 832x platform code X-Git-Tag: v2.6.20-rc6~56^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06cd9396778d5b70ba27fa8158db78d6bc0f007b;p=pandora-kernel.git [POWERPC] Fix OF node refcnt underflow in 836x and 832x platform code Incorrect use of of_find_node_by_name() causes of_node_put() on a node which has already been put. It causes the refcount of the node to underflow, which triggers the WARN_ON in kref_get for 836x and 832x. This fixes it. Signed-off-by: Li Yang Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed