From: Jeff Garzik Date: Thu, 25 Oct 2007 08:06:13 +0000 (-0400) Subject: Permit silencing of __deprecated warnings. X-Git-Tag: v2.6.24-rc2~148 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de48844398f81cfdf087d56e12c920d620dae8d5;p=pandora-kernel.git Permit silencing of __deprecated warnings. The __deprecated marker is quite useful in highlighting the remnants of old APIs that want removing. However, it is quite normal for one or more years to pass, before the (usually ancient, bitrotten) code in question is either updated or deleted. Thus, like __must_check, add a Kconfig option that permits the silencing of this compiler warning. This change mimics the ifdef-ery and Kconfig defaults of MUST_CHECK as closely as possible. Signed-off-by: Jeff Garzik Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed