From: Amit Shah <shahamit@gmx.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH][2.4] const char* to char* conversion in console.h
Date: Tue, 1 Apr 2003 18:41:19 +0530 [thread overview]
Message-ID: <200304011841.19404.shahamit@gmx.net> (raw)
The read function for consoles in include/linux/console.h contains const
char* for a pointer that it will actually modify. Although no one seems
to be using this as of now, it should be corrected.
--- include/linux/console.h.orig Tue Apr 1 18:39:34 2003
+++ include/linux/console.h Tue Apr 1 18:40:05 2003
@@ -95,7 +95,7 @@
{
char name[8];
void (*write)(struct console *, const char *, unsigned);
- int (*read)(struct console *, const char *, unsigned);
+ int (*read)(struct console *, char *, unsigned);
kdev_t (*device)(struct console *);
void (*unblank)(void);
int (*setup)(struct console *, char *);
Amit.
--
Amit Shah
http://amitshah.nav.to/
A: No.
Q: Should I include quotations after my reply?
reply other threads:[~2003-04-01 13:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200304011841.19404.shahamit@gmx.net \
--to=shahamit@gmx.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®