lkml.org 
[lkml]   [2007]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add new categories of DEPRECATED and OBSOLETE.
On Thu, 18 Jan 2007, Cedric Le Goater wrote:

> Robert P. J. Day wrote:
> > Next to EXPERIMENTAL, add two new kernel config categories of
> > DEPRECATED and OBSOLETE.
>
> What about adding some printks when DEPRECATED and OBSOLETE are set
> ? like in print_tainted() for example.

i preferred to introduce this as a non-intrusive change, which didn't
*require* any change to actual source code or header files. note that
you can add these two new categories (and any other categories you
can dream up) without changing *anything* else about the build
process. and once those two categories are in the init/Kconfig file,
subsystem maintainers can, on their own time, make the appropriate
changes to their subsystems. it's all perfectly voluntary.

also, code that's deprecated can still be tagged with
"__attribute__((deprecated))" in the source code.

rday
-
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: 2007-01-18 11:39    [from the cache]
©2003-2011 Jasper Spaans