On Thu, 2005-07-28 16:07:57 +0200, Jiri Slaby <[email protected]> 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 [email protected] . +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:
signature.asc
Description: Digital signature
- References:
- [PATCH] New include file for marking old style api files
- From: Jiri Slaby <[email protected]>
- Re: [PATCH] New include file for marking old style api files
- From: Adrian Bunk <[email protected]>
- Re: [PATCH] New include file for marking old style api files
- From: Jiri Slaby <[email protected]>
- [PATCH] New include file for marking old style api files
- Prev by Date: Re: [V9fs-developer] Re: [PATCH 2.6.13-rc3-mm2] v9fs: add fd based transport
- Next by Date: Re: [PATCH] New include file for marking old style api files
- Previous by thread: Re: [PATCH] New include file for marking old style api files
- Next by thread: Re: [PATCH] New include file for marking old style api files
- Index(es):