Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762877AbXJZDK7 (ORCPT ); Thu, 25 Oct 2007 23:10:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756798AbXJZDKv (ORCPT ); Thu, 25 Oct 2007 23:10:51 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:47130 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758821AbXJZDKu (ORCPT ); Thu, 25 Oct 2007 23:10:50 -0400 Date: Thu, 25 Oct 2007 20:07:01 -0700 From: Arjan van de Ven To: Jeff Garzik Cc: LKML , akpm@linux-foundation.org, torvalds@linux-foundation.org Subject: Re: [PATCH] Permit silencing of __deprecated warnings. Message-ID: <20071025200701.614388fe@laptopd505.fenrus.org> In-Reply-To: <41621d56a0a0e4e5f861e1725f18990df5e927ad.1193299380.git.jeff@garzik.org> References: <41621d56a0a0e4e5f861e1725f18990df5e927ad.1193299380.git.jeff@garzik.org> Organization: Intel X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1196 Lines: 32 On Thu, 25 Oct 2007 04:06:13 -0400 (EDT) Jeff Garzik wrote: > 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. > it would be nice if we could have this always-on for external modules, so that people who're developing new modules realize from the start that they're using API's they shouldn't, no matter what config option they (or their distro) picked... -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org - 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/