Messages in this thread | | | Date | Mon, 13 Sep 2004 16:24:12 +0200 | From | Mikael Pettersson <> | Subject | Re: 2.4.28-pre3: broken ips update |
| |
Adrian Bunk writes: > On Sat, Sep 11, 2004 at 07:01:17PM -0300, Marcelo Tosatti wrote: > >... > > Summary of changes from v2.4.28-pre2 to v2.4.28-pre3 > > ============================================ > >... > > Jack Hammer: > > o ServeRAID driver (ips) Version 7.10.18 > >... > > <-- snip --> > > ... > gcc-3.4 -D__KERNEL__ > -I/home/bunk/linux/kernel-2.4/linux-2.4.28-pre3-full/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon > -fno-unit-at-a-time -nostdinc -iwithprefix include > -DKBUILD_BASENAME=ips -c -o ips.o ips.c > In file included from ips.c:190: > ips.h:101: error: redefinition of typedef 'irqreturn_t' > /home/bunk/linux/kernel-2.4/linux-2.4.28-pre3-full/include/linux/interrupt.h:16: > error: previous declaration of 'irqreturn_t' was here > make[3]: *** [ips.o] Error 1 > make[3]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.28-pre3-full/drivers/scsi'
I posted a patch yesterday fixing this very issue. The compat definitions in ips.h are in conflict with the kernel's own compat definitions in interrupt.h. The workaround is to disable ips.h's irqreturn_t etc emulation for kernels >= 2.4.23.
/Mikael - 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/
| |