lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateMon, 14 Mar 2005 22:42:21 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] reduce __deprecated spew
Matt Mackall <mpm@selenic.com> wrote:
>
> This patch changes a couple of the noisier deprecations to only warn
> on the primary entrypoint (in these cases, the _register functions).
> This approach makes it obvious that an interface is going away while
> only warning once per user. I suggest we adopt this approach for
> future deprecation campaigns.

But that's going to warn when the deprecated function itself is compiled,
isn't it?

If so, that's backwards. We want to warn when the deprecated function is
_used_, so people go fix up their code, and we can then remove the
deprecated function.

(The intermodule_register and pm_register stuff has been hanging around for
so long that one wonders if we need sterner stimuli, not lesser).
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:11    [from the cache]
©2003-2010