mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][2.4] const char* to char* conversion in console.h
@ 2003-04-01 13:11 Amit Shah
  0 siblings, 0 replies; only message in thread
From: Amit Shah @ 2003-04-01 13:11 UTC (permalink / raw)
  To: linux-kernel

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?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-01 13:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-01 13:11 [PATCH][2.4] const char* to char* conversion in console.h Amit Shah

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®