From: Jiri Slaby Date: Tue, 22 Jun 2010 11:42:02 +0000 (+0200) Subject: [SCSI] mvsas: fix potential NULL dereference X-Git-Tag: v2.6.36-rc1~570^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24ae163ed33d2b8a70d2f0b1947b401d0a8e8719;p=pandora-kernel.git [SCSI] mvsas: fix potential NULL dereference Stanse found that in mvs_abort_task, mvi_dev is dereferenced earlier than tested for being NULL. Move the assignment below the test. Signed-off-by: Jiri Slaby Signed-off-by: James Bottomley --- Reading git-diff-tree failed