Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9812896 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

[PATCH] aic7xxx_osm build fix



Fix a c99ism.

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 558ac33e
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -659,8 +659,11 @@ ahc_linux_slave_alloc(struct scsi_device *device)
	ahc_lock(ahc, &flags);
	ahc_lock(ahc, &flags);
	targ = ahc->platform_data->targets[target_offset];
	targ = ahc->platform_data->targets[target_offset];
	if (targ == NULL) {
	if (targ == NULL) {
		targ = ahc_linux_alloc_target(ahc, starget->channel, starget->id);
		struct seeprom_config *sc;
		struct seeprom_config *sc = ahc->seep_config;

		targ = ahc_linux_alloc_target(ahc, starget->channel,
						starget->id);
		sc = ahc->seep_config;
		if (targ == NULL)
		if (targ == NULL)
			goto out;
			goto out;