From a708a34e170dddca0efaae7fa236c8fc96dd3ed8 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Fri, 5 Aug 2005 16:24:54 -0500 Subject: [PATCH] --- yaml --- r: 7667 b: refs/heads/master c: fc789a93994858b5e5a46afb96d0dcf6cc1b6f08 h: refs/heads/master i: 7665: 6f9be310b6f068f878e1dd5480eb7167603b92c6 7663: 93aa1d53a79dd2dba04b79dfa12296efa9d2cf3f v: v3 --- [refs] | 2 +- trunk/drivers/scsi/aic7xxx/aic79xx_osm.c | 4 ++-- trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 6c2a091b914e..035445f3222f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 79778a27be4c704552a18cf2a3e8b9e30623acd1 +refs/heads/master: fc789a93994858b5e5a46afb96d0dcf6cc1b6f08 diff --git a/trunk/drivers/scsi/aic7xxx/aic79xx_osm.c b/trunk/drivers/scsi/aic7xxx/aic79xx_osm.c index 40f32bb23972..acaeebd50465 100644 --- a/trunk/drivers/scsi/aic7xxx/aic79xx_osm.c +++ b/trunk/drivers/scsi/aic7xxx/aic79xx_osm.c @@ -1617,9 +1617,9 @@ ahd_send_async(struct ahd_softc *ahd, char channel, * are identical to those last reported. */ starget = ahd->platform_data->starget[target]; - targ = scsi_transport_target_data(starget); - if (targ == NULL) + if (starget == NULL) break; + targ = scsi_transport_target_data(starget); target_ppr_options = (spi_dt(starget) ? MSG_EXT_PPR_DT_REQ : 0) diff --git a/trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c b/trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c index e39361ac6a44..3fbc10e58cc2 100644 --- a/trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c @@ -1618,9 +1618,9 @@ ahc_send_async(struct ahc_softc *ahc, char channel, if (channel == 'B') target_offset += 8; starget = ahc->platform_data->starget[target_offset]; - targ = scsi_transport_target_data(starget); - if (targ == NULL) + if (starget == NULL) break; + targ = scsi_transport_target_data(starget); target_ppr_options = (spi_dt(starget) ? MSG_EXT_PPR_DT_REQ : 0)