lkml.org 
[lkml]   [2005]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] New include file for marking old style api files
Adrian Bunk napsal(a):

>On Thu, Jul 28, 2005 at 03:42:26PM +0200, Jiri Slaby wrote:
>
>
>>Hi.
>>Do you think, that this would be useful in the kernel tree?
>>I have an idea to mark old drivers, which should I or somebody rewrite.
>>For example drivers/isdn/hisax/gazel.c.
>>...
>>--- /dev/null
>>+++ b/include/linux/oldapi.h
>>@@ -0,0 +1,2 @@
>>+#warning This driver uses old style API and needs to be rewritten or removed \
>>+ from kernel
>>
>>
>
>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.

--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@gmail.com ~\-/~
241B347EC88228DE51EE A49C4A73A25004CB2A10

-
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-07-28 16:19    [W:0.198 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site