lkml.org 
[lkml]   [2005]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC/RFT] swsusp: image size tunable (was: Re: [PATCH][mm] swsusp: limit image size)
    Hi!

    > > > +static ssize_t image_size_store(struct subsystem * subsys, const char * buf, size_t n)
    > > > +{
    > > > + int len;
    > > > + char *p;
    > > > + unsigned int size;
    > > > +
    > > > + p = memchr(buf, '\n', n);
    > > > + len = p ? p - buf : n;
    > >
    > > len and p are unused.
    >
    > Right. BTW, the same applies to resume_store().

    Thanks, fixed locally.
    Pavel
    --
    Thanks, Sharp!
    -
    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-12-11 00:02    [W:0.029 / U:3.800 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site