From 6cb9b20a13349b05e21e92d48bb330ca7fe8892e Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Wed, 18 Feb 2004 08:24:55 -0500 Subject: [PATCH] IEEE1394(r1137): Check to make sure we have a hostinfo in sbp2_host_reset. --- drivers/ieee1394/sbp2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index 755a9b8333b28..96ee818c85c64 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c @@ -808,7 +808,8 @@ static void sbp2_host_reset(struct hpsb_host *host) hi = hpsb_get_hostinfo(&sbp2_highlevel, host); - scsi_block_requests(hi->scsi_host); + if (hi) + scsi_block_requests(hi->scsi_host); } -- 2.53.0