Re: [PATCH] New include file for marking old style api files

Jan-Benedict Glaw
2005-07-28T14:28:05Z

[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]

On Thu, 2005-07-28 16:07:57 +0200, Jiri Slaby <jirislaby@gmail.com> wrote:
> Adrian Bunk napsal(a):
> >What's wrong with __deprecated ?
> >
> >
> Nothing, but this marks entire driver, not a function, that it uses.
> I.e. gazel doesn't emit any warning or so, I think; so for these cases.

So what's actually wrong with the gazel driver? I'm not an user or
author of it.

When it's the use of old APIs, I indeed think that __deprecated is
exactly what we want. If a driver is superseded by a different one (OSS
vs. ALSA, eepro100 vs e100, ...), sticking a #warning or #error right
into the driver (and not into an included header file) looks quite right
to me.

MfG, JBG

--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Buerger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]