Re: [PATCH] strstrip incorrectly marked __must_check

From: Alan Cox
Date: Tue Nov 03 2009 - 14:11:06 EST

> static inline void strsrip_tail(char *str)
> {
> char *x __used;
> x = strstrip(str);
> }

Bikeshed time but its cleaner to do

static inline __must_check void strstrip(char *str)
return strim(str);

and make strim() the old strstrip function without the check requirement

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at