From: Dan Carpenter <[error27@gmail.com]> Date: Wed, 23 Mar 2011 23:43:07 +0000 (-0700) Subject: rapidio: fix potential null deref on failure path X-Git-Tag: v2.6.39-rc1~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad4ac17ad1e2f0bd0ce38b2585c5d7fa2b0780dc;p=pandora-kernel.git rapidio: fix potential null deref on failure path If rio is not a switch then "rswitch" is null. Signed-off-by: Dan Carpenter Cc: Matt Porter Cc: Kumar Gala Signed-off-by: Alexandre Bounine Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed