All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] New include file for marking old style api files
Date: Thu, 28 Jul 2005 15:50:22 +0200	[thread overview]
Message-ID: <42E8E29E.5030205@gmail.com> (raw)
In-Reply-To: <42E8E0C2.5010302@gmail.com>

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

Jiri Slaby napsal(a):

> 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.
>
>------------------------------------------------------------------------
>
>diff --git a/include/linux/oldapi.h b/include/linux/oldapi.h
>new file mode 100644
>--- /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
>  
>
Maybe this would be better (license and comments added).

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


[-- Attachment #2: lnx-oldapi-6.13r3m3_1.txt --]
[-- Type: text/plain, Size: 570 bytes --]

diff --git a/include/linux/oldapi.h b/include/linux/oldapi.h
new file mode 100644
--- /dev/null
+++ b/include/linux/oldapi.h
@@ -0,0 +1,13 @@
+/**
+  * Include this file, if you think that the driver is old API styled
+  *
+  * Version:	1.0		28 Jul 2005	Initial version
+  *
+  * Author		Jiri Slaby <xslaby@fi.muni.cz>
+  *
+  * This software may be used and distributed according to the terms
+  * of the GNU General Public License, incorporated herein by reference.
+  */
+
+#warning This driver uses old style API and needs to be rewritten or removed \
+	from kernel

  reply	other threads:[~2005-07-28 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-28 13:42 [PATCH] New include file for marking old style api files Jiri Slaby
2005-07-28 13:50 ` Jiri Slaby [this message]
2005-07-28 13:56   ` John W. Linville
2005-07-28 14:02 ` Adrian Bunk
2005-07-28 14:07   ` Jiri Slaby
2005-07-28 14:25     ` Jan-Benedict Glaw
2005-07-28 14:32     ` Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42E8E29E.5030205@gmail.com \
    --to=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.