[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071025200701.614388fe@laptopd505.fenrus.org>
Date: Thu, 25 Oct 2007 20:07:01 -0700
From: Arjan van de Ven <arjan@...radead.org>
To: Jeff Garzik <jeff@...zik.org>
Cc: LKML <linux-kernel@...r.kernel.org>, akpm@...ux-foundation.org,
torvalds@...ux-foundation.org
Subject: Re: [PATCH] Permit silencing of __deprecated warnings.
On Thu, 25 Oct 2007 04:06:13 -0400 (EDT)
Jeff Garzik <jeff@...zik.org> 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@...ux.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists