public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aic7xxx: unmix declarations and code
@ 2005-05-21 13:04 Alexey Dobriyan
  2005-05-24 22:32 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2005-05-21 13:04 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-scsi

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

--- linux-20050521140543-000/drivers/scsi/aic7xxx/aic7xxx_osm.c	2005-05-21 14:11:06.000000000 +0400
+++ linux-20050521140543-001/drivers/scsi/aic7xxx/aic7xxx_osm.c	2005-05-21 16:49:32.000000000 +0400
@@ -659,8 +659,10 @@ ahc_linux_slave_alloc(struct scsi_device
 	ahc_lock(ahc, &flags);
 	targ = ahc->platform_data->targets[target_offset];
 	if (targ == NULL) {
+		struct seeprom_config *sc;
+
 		targ = ahc_linux_alloc_target(ahc, starget->channel, starget->id);
-		struct seeprom_config *sc = ahc->seep_config;
+		sc = ahc->seep_config;
 		if (targ == NULL)
 			goto out;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] aic7xxx: unmix declarations and code
  2005-05-21 13:04 [PATCH] aic7xxx: unmix declarations and code Alexey Dobriyan
@ 2005-05-24 22:32 ` James Bottomley
  0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2005-05-24 22:32 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: SCSI Mailing List

On Sat, 2005-05-21 at 17:04 +0400, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

Hopefully this issue should be sorted out in the next go around of the
aic7xxx cleanup.

James



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-24 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-21 13:04 [PATCH] aic7xxx: unmix declarations and code Alexey Dobriyan
2005-05-24 22:32 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox