lkml.org 
[lkml]   [2009]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] strstrip incorrectly marked __must_check
    From
    Date
    On Tue, 2009-11-03 at 12:04 -0700, Matthew Wilcox wrote:
    > static inline void strsrip_tail(char *str)
    > {
    > - char *x __used;
    > - x = strstrip(str);
    > + char *x = strstrip(str);
    > + BUG_ON(x != str);
    > }

    Please, no. I said didn't care about leading whitespace ... I didn't
    say there wasn't any.

    James




    \
     
     \ /
      Last update: 2009-11-03 20:15    [W:2.588 / U:0.456 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site