Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753248AbZKCTER (ORCPT ); Tue, 3 Nov 2009 14:04:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752176AbZKCTEQ (ORCPT ); Tue, 3 Nov 2009 14:04:16 -0500 Received: from palinux.external.hp.com ([192.25.206.14]:44611 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751326AbZKCTEQ (ORCPT ); Tue, 3 Nov 2009 14:04:16 -0500 Date: Tue, 3 Nov 2009 12:04:20 -0700 From: Matthew Wilcox To: Andrew Morton Cc: James Bottomley , KOSAKI Motohiro , linux-scsi@vger.kernel.org, linux-kernel Subject: Re: [PATCH] strstrip incorrectly marked __must_check Message-ID: <20091103190420.GY10555@parisc-linux.org> References: <1257273488.9427.27.camel@mulgrave.site> <20091103105921.160d5599.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091103105921.160d5599.akpm@linux-foundation.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 601 Lines: 19 static inline void strsrip_tail(char *str) { - char *x __used; - x = strstrip(str); + char *x = strstrip(str); + BUG_ON(x != str); } -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- 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/