Re: 2.5.3-pre5 -- video1394.c:868: too few arguments to function `remap_page_range'

Evgeniy Polyakov (johnpol@2ka.mipt.ru)
Fri, 25 Jan 2002 12:40:31 +0300


This is a multi-part message in MIME format.

--Multipart_Fri__25_Jan_2002_12:40:31_+0300_08393380
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On 24 Jan 2002 20:21:42 -0800
Miles Lane <miles@megapathdsl.net> wrote:

>
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mpreferred-stack-boundary=2 -march=athlon -DMODULE -c -o
> video1394.o video1394.c
> video1394.c: In function `do_iso_mmap':
> video1394.c:868: warning: passing arg 1 of `remap_page_range' makes
> pointer from integer without a cast
> video1394.c:868: incompatible type for argument 4 of `remap_page_range'
> video1394.c:868: too few arguments to function `remap_page_range'
> make[2]: *** [video1394.o] Error 1
> make[2]: Leaving directory `/usr/src/linux/drivers/ieee1394'

It is very hard to Linus to look and apply all patches, so pre5 has the
same errors that others pre. Please, apply this patch or get it from Dave
Jones tree. I hope it will help you.

Evgeniy Polyakov ( s0mbre ).

--Multipart_Fri__25_Jan_2002_12:40:31_+0300_08393380
Content-Type: application/octet-stream;
name="ieee1394_video1394.patch"
Content-Disposition: attachment;
filename="ieee1394_video1394.patch"
Content-Transfer-Encoding: base64

LS0tIC4vZHJpdmVycy9pZWVlMTM5NC92aWRlbzEzOTQuY34JVHVlIEphbiAyMiAwNToxMTowOCAy
MDAyCisrKyAuL2RyaXZlcnMvaWVlZTEzOTQvdmlkZW8xMzk0LmMJV2VkIEphbiAyMyAwNzowNDo1
OCAyMDAyCkBAIC04NDQsOCArODQ0LDkgQEAKIAlyZWdfd3JpdGUob2hjaSwgT0hDSTEzOTRfSXNv
WG1pdEludE1hc2tTZXQsIDE8PGQtPmN0eCk7CiB9CiAKLXN0YXRpYyBpbnQgZG9faXNvX21tYXAo
c3R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N1cnJlbnQgaXNvIGNvbnRleHQgbm90IHNldCIpOwogCX0gZWxzZQotCQlyZXMgPSBk
b19pc29fbW1hcChvaGNpLCB2aWRlby0+Y3VycmVudF9jdHgsIAorCQlyZXMgPSBkb19pc29fbW1h
cCh2bWEsIG9oY2ksIHZpZGVvLT5jdXJyZW50X2N0eCwgCiAJCQkgICAoY2hhciAqKXZtYS0+dm1f
c3RhcnQsIAogCQkJICAgKHVuc2lnbmVkIGxvbmcpKHZtYS0+dm1fZW5kLXZtYS0+dm1fc3RhcnQp
KTsKIAl1bmxvY2tfa2VybmVsKCk7Cg==

--Multipart_Fri__25_Jan_2002_12:40:31_+0300_08393380--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/