lkml.org 
[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] bogus cast in bio.c
    <qualifier> void * is not the same as void <qualifier> *...
    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ----
    diff -urN RC13-git8-base/fs/bio.c current/fs/bio.c
    --- RC13-git8-base/fs/bio.c 2005-09-08 10:17:39.000000000 -0400
    +++ current/fs/bio.c 2005-09-08 23:53:33.000000000 -0400
    @@ -683,7 +683,7 @@
    {
    struct sg_iovec iov;

    - iov.iov_base = (__user void *)uaddr;
    + iov.iov_base = (void __user *)uaddr;
    iov.iov_len = len;

    return bio_map_user_iov(q, bdev, &iov, 1, write_to_vm);
    -
    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: 2005-09-09 17:56    [W:0.022 / U:1.536 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site