lkml.org 
[lkml]   [2006]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [patch 1/5] mm: remap_vmalloc_range
    Hotfix #1


    Index: linux-2.6/drivers/media/video/usbvideo/vicam.c
    ===================================================================
    --- linux-2.6.orig/drivers/media/video/usbvideo/vicam.c
    +++ linux-2.6/drivers/media/video/usbvideo/vicam.c
    @@ -1000,6 +1000,7 @@ vicam_mmap(struct file *file, struct vm_
    * It shouldn't have been, so let's try this check again -np
    */
    if (size > VICAM_FRAMES*VICAM_MAX_FRAME_SIZE)
    + return -EINVAL;

    if (remap_vmalloc_range(vma, cam->framebuf, 0))
    return -EAGAIN;
    -
    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/
    \
     
     \ /
      Last update: 2006-04-20 20:11    [W:0.021 / U:61.084 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site