From: Corey Minyard Date: Tue, 21 Apr 2009 19:24:02 +0000 (-0700) Subject: ipmi: fix platform return check X-Git-Tag: v2.6.30-rc3~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b32b5d0dca2f5ab632e8bedcd57fe4c109c13fe;p=pandora-kernel.git ipmi: fix platform return check The wrong return value is being tested when allocating a platform device in the IPMI SI code. Check the right value. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed