lkml.org 
[lkml]   [2009]   [Nov]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] strstrip incorrectly marked __must_check
FromJames Bottomley <>
DateTue, 03 Nov 2009 13:11:42 -0600
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:0.229 / U:0.210 seconds]
©2003-2009 Jasper Spaans