In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from nv-linux.h:64,
from nv.c:14:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1282: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
nv.c:1282: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1282: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1301: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
nv.c:1301: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1301: too few arguments to function `remap_page_range_R2baf18f2'
nv.c:1387: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer
from integer without a cast
nv.c:1387: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nv.c:1387: too few arguments to function `remap_page_range_R2baf18f2'
nv.c: In function `nv_get_phys_address':
nv.c:2250: warning: implicit declaration of function `pte_offset'
nv.c:2250: invalid type argument of `unary *'
make: *** [nv.o] Error 1
----------------------------------------------------------------------
我想改动一下后再编,望高手赐教怎么改.谢谢