[PATCH 2.5.4] video1394.c compilation error

Roger Larsson (roger.larsson@norran.net)
Mon, 11 Feb 2002 23:04:49 +0100


--------------Boundary-00=_1O2EIUIRV8MXEYUEF8OX
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi,

do_iso_mmap takes pointer to vma as first argument...
This code compiles - but it might be wrong...

/RogerL

-- 
Roger Larsson
Skellefteċ
Sweden

--------------Boundary-00=_1O2EIUIRV8MXEYUEF8OX Content-Type: text/x-diff; charset="iso-8859-1"; name="patch-2.5.4-do_iso_mmap" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="patch-2.5.4-do_iso_mmap"

--- linux-2.5.4/drivers/ieee1394/video1394.c.orig Mon Feb 11 22:51:44 2002 +++ linux-2.5.4/drivers/ieee1394/video1394.c Mon Feb 11 22:51:58 2002 @@ -1406,7 +1406,7 @@ if (video->current_ctx == NULL) { PRINT(KERN_ERR, ohci->id, "Current iso context not set"); } else - res = do_iso_mmap(ohci, video->current_ctx, + res = do_iso_mmap(vma, ohci, video->current_ctx, (char *)vma->vm_start, (unsigned long)(vma->vm_end-vma->vm_start)); unlock_kernel();

--------------Boundary-00=_1O2EIUIRV8MXEYUEF8OX-- - 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/