Re: 2.5.20-dj2 : "Duplicate initializer" in drivers/scsi/aic7xxx/aic7xxx_linux.c

Dave Jones (davej@suse.de)
Tue, 4 Jun 2002 22:52:01 +0200


On Tue, Jun 04, 2002 at 04:40:23PM -0400, Nathan wrote:
> gcc -D__KERNEL__ -I/home/wes/src/kernel/linux-2.5.20/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> -malign-functions=4 -DKBUILD_BASENAME=aic7xxx_linux -c -o
> aic7xxx_linux.o aic7xxx_linux.c
> aic7xxx_linux.c:2829: unknown field `abort' specified in initializer
> aic7xxx_linux.c:2829: unknown field `reset' specified in initializer
>
> Erhm, what's that mean? ^_^ And more importantly, how does one fix that?

It means the scsi driver has no error handling. Either a, add
appropriate error handling routines, or b, enable the option in
the scsi menu labelled "Use SCSI drivers with broken error handling [DANGEROUS]"

This is the fallout of a patch from Christoph Hellwig to make it more
obvious which drivers are still in need of attention. This patch is
missing from Linus' tree, so things compile fine there. As there's been
little to no progress at fixing these, I'll push the same patch to Linus
in the next round, so things will break there too.

Dave.

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/