Oznameni: Patch na CDMA modem GPC-2460

Martin Kamín ZULU martinkamin na quick.cz
Pátek Září 3 09:22:35 CEST 2004


On 02. Sep, 08:30 PM CEST, Cyber-Duracel <cyber na irix-servis.cz> wrote 21 lines:
> DD,
> na 2.4.27 to nejde
> 
> make[2]: Entering directory `/usr/src/linux-2.4.27/drivers/usb'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
> -DMODULE -DMODVERSIONS -include 
> /usr/src/linux-2.4.27/include/linux/modversions.h  -nostdinc 
> -iwithprefix include -DKBUILD_BASENAME=acm  -c -o acm.o acm.c
> acm.c:76: parse error before `ushort'
> acm.c:76: warning: type defaults to `int' in declaration of `module_param'
> acm.c:76: warning: function declaration isn't a prototype
> acm.c:76: warning: data definition has no type or storage class
> make[2]: *** [acm.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.27/drivers/usb'
> make[1]: *** [_modsubdir_usb] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.27/drivers'
> make: *** [_mod_drivers] Error 2
> 
> co s tim

Teď jsem to tady chtěl taky plácnout :)
chyba je někde tady:

/*
 * Module parameters
 */
static __u16 max_packet_size;
module_param(max_packet_size, ushort, 0);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
MODULE_PARM_DESC(max_packet_size, "User specified wMaxPacketSize needed by "
   "Qualcomm devices (0 or no parameter mean keep reported value by device)");

MK


Další informace o konferenci Linux