Skip to contentSkip to conversation

KMALLOC_MAXSIZE undeclared in drivers/media/video/buz.c

DISCUSSION Joseph Cheek 2 participants 2 messages Mar 19, 2001 – Mar 20, 2001

lore
Share & tools
lore
#0 lore raw

2.4.3-pre4.

i also see a reference to KMALLOC_MAXSIZE in
drivers/net/hamradio/6pack.c

this kernel won't compile, is KMALLOC_MAXSIZE set somewhere? i can't find it. is it deprecated?

gcc -D__KERNEL__ -I/usr/src/RedmondLinux/BUILD/linux-2.4.3/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -mcpu=i686 -DMODULE -DMODVERSIONS -include /usr/src/RedmondLinux/BUILD/linux-2.4.3/linux/include/linux/modversions.h -c -o buz.o buz.c
buz.c: In function `v4l_fbuffer_alloc':
buz.c:188: `KMALLOC_MAXSIZE' undeclared (first use in this function) buz.c:188: (Each undeclared identifier is reported only once buz.c:188: for each function it appears in.)
buz.c: In function `jpg_fbuffer_alloc':
buz.c:262: KMALLOC_MAXSIZE' undeclared (first use in this function) buz.c:256: warning: alloc_contig' might be used uninitialized in this function
buz.c: In function `jpg_fbuffer_free':
buz.c:322: KMALLOC_MAXSIZE' undeclared (first use in this function) buz.c:316: warning: alloc_contig' might be used uninitialized in this function
buz.c: In function `zoran_ioctl':
buz.c:2837: `KMALLOC_MAXSIZE' undeclared (first use in this function) make[3]: *** [buz.o] Error 1
make[3]: Leaving directory `/usr/src/RedmondLinux/BUILD/linux-2.4.3/linux/drivers/media/video' make[2]: *** [_modsubdir_video] Error 2
make[2]: Leaving directory `/usr/src/RedmondLinux/BUILD/linux-2.4.3/linux/drivers/media' make[1]: *** [_modsubdir_media] Error 2
make[1]: Leaving directory `/usr/src/RedmondLinux/BUILD/linux-2.4.3/linux/drivers'
make: *** [_mod_drivers] Error 2

#1 lore raw

grab my KMALLOC_MAXSIZE patch from this posting

http://marc.theaimsgroup.com/?l=linux-kernel&m=98398907520444&w=2

Quoted 8 lines · Joseph Cheek

2.4.3-pre4.

i also see a reference to KMALLOC_MAXSIZE in
drivers/net/hamradio/6pack.c

this kernel won't compile, is KMALLOC_MAXSIZE set somewhere? i can't find it. is it deprecated?

Signature · 8 lines
=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               [email protected]

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               [email protected]
=====================================================================