Messages in this thread | | | Date | Sat, 12 Jun 1999 18:49:37 +0200 (CEST) | From | <> | Subject | 2.2.9-ac5 breaks IRDA compilation |
| |
gcc -D__KERNEL__ -I/usr/src/RPM/BUILD/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -O2 -mpentium -march=pentium -pipe -s -ffast-math -fomit-frame-pointer -fno-exceptions -fno-rtti -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include /usr/src/RPM/BUILD/linux/include/linux/modversions.h -c -o irport.o irport.c irport.c: In function `irport_change_speed': irport.c:324: `self' undeclared (first use in this function) irport.c:324: (Each undeclared identifier is reported only once irport.c:324: for each function it appears in.) make[3]: *** [irport.o] Error 1 make[3]: Leaving directory `/shared/src/RPM/BUILD/linux/drivers/net/irda' make[2]: *** [_modinsubdir_irda] Error 2 make[2]: Leaving directory `/shared/src/RPM/BUILD/linux/drivers/net' make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory `/shared/src/RPM/BUILD/linux/drivers' make: *** [_mod_drivers] Error 2 From: bero@mandrakesoft.com X-Envelope-To: <linux-kernel@vger.rutgers.edu> Message-Id: <9906121900521337400@ebb>
The offending line is
spin_unlock_irqrestore(&self->lock, flags);
Suggested fix: replace the line with
spin_unlock_irqrestore(&idev->lock, flags);
LLaP bero
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |