Re: "remap_page_range" compile ERROR

From: linux-os
Date: Wed Mar 09 2005 - 07:41:44 EST

On Wed, 9 Mar 2005, Mukund JB. wrote:

Hi all,

I am running Redhat 9 Linux.
I have problem with compiling the i810fb driver downloaded from
Sourceforge site. I have D/W the i810fb patch

When I run the make modules I get the following ERROR

i810_main.c: 643: warning: passing arg 1 of 'remap_page_range_R2baf18f2'
makes pointer from integer without a cast
i810_main.c: 643: incompatible type for argument 4 of
i810_main.c: 643: too few arguments to function
Make[3]: *** [I810_main.c] Error 1

The call to "remap_page_range()" is as follows:-

return (io_remap_page_range(vma->vm_start, off, vma->vm_end -
vma->vm_start, vma->vm_page_prot)) ? -EAGAIN : 0;

Please suggest me what could be the problem.

Mukund jampala

It now gets vma as the first argment as well as the others.

Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at