From: KOSAKI Motohiro Date: Mon, 26 Oct 2009 23:49:37 +0000 (-0700) Subject: strstrip(): mark as as must_check X-Git-Tag: v2.6.32-rc6~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a1b71b4008d332e57b5605a8228ea7aa96687e8;p=pandora-kernel.git strstrip(): mark as as must_check strstrip() can return a modified value of its input argument, when removing elading whitesapce. So it is surely bug for this function's return value to be ignored. The caller is probably going to use the incorrect original pointer. So mark it __must_check to prevent this frm happening (as it has before). Signed-off-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed