lkml.org 
[lkml]   [2009]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/5] create compat_writev()
    Date
    On Friday 16 January 2009, Gerd Hoffmann wrote:
    > +asmlinkage ssize_t
    > +compat_sys_writev(unsigned long fd, const struct compat_iovec __user *vec, unsigned long vlen)
    > +{
    > +       struct file *file;
    > +       ssize_t ret;
    > +
    > +       file = fget(fd);
    > +       if (!file)
    > +               return -EBADF;
    > +       ret = compat_writev(file, vec, vlen, &file->f_pos);
    > +        fput(file);
    > +        return ret;
    > +}

    This one still looks whitespace damaged, did you run the latest version
    through checkpatch.pl?

    Arnd <><
    --
    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: 2009-01-16 18:31    [W:0.026 / U:33.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site