On Sat, Feb 16, 2002 at 05:40:01PM +0100, Peter Koellner wrote: > On Sat, 16 Feb 2002, Ben Collins wrote: > > > How about telling us the error? We use out 2.95.4 compiler to create out > > own images for Debian kernels. So if you want a sane answer, instead of > > some rambling guesses, supply the damn error. > > well, as i said... there is no difference in behaviour between the gcc > versions i tried, and all this completely misses the point of my request, > and i have already filed a bug report, but if you insist, here you are: > > [...] > make -C oss > make[2]: Entering directory `/usr/src/linux-2.5.4/sound/oss' > make all_targets > make[3]: Entering directory `/usr/src/linux-2.5.4/sound/oss' > gcc -D__KERNEL__ -I/usr/src/linux-2.5.4/include -Wall -Wstrict-prototypes > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common > -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=i810_audio > -c -o i810_audio.o i810_audio.c > i810_audio.c: In function `i810_mmap': > i810_audio.c:1673: warning: passing arg 1 of `remap_page_range' makes pointer > from integer without a cast > i810_audio.c:1673: incompatible type for argument 4 of `remap_page_range' > i810_audio.c:1673: too few arguments to function `remap_page_range'
This is definitely a source bug in i810_audio.c. In 2.5.x somewhere, the remap_page_range() function changed its expected arguments. Seems this driver wasn't updated. -- .----------=======-=-======-=========-----------=====------------=-=-----. / Ben Collins -- Debian GNU/Linux -- WatchGuard.com \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=========------=======-------------=-=-----=-===-======-------=--=---'