From: Hannes Reinecke Date: Fri, 15 Jan 2010 12:07:34 +0000 (+0100) Subject: [SCSI] aic79xx: check for non-NULL scb in ahd_handle_nonpkt_busfree X-Git-Tag: v2.6.33-rc6~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=534ef056db8a8fb6b9d50188d88ed5d1fbc66673;p=pandora-kernel.git [SCSI] aic79xx: check for non-NULL scb in ahd_handle_nonpkt_busfree When removing several devices aic79xx will occasionally Oops in ahd_handle_nonpkt_busfree during rescan. Looking at the code I found that we're indeed not checking if the scb in question is NULL. So check for it before accessing it. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed