[SCSI] aic79xx: check for non-NULL scb in ahd_handle_nonpkt_busfree
authorHannes Reinecke <hare@suse.de>
Fri, 15 Jan 2010 12:07:34 +0000 (13:07 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 17 Jan 2010 18:48:12 +0000 (12:48 -0600)
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 <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found