[lkml]   [2003]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH][2.5] const char* to char* update in console.h
Hi all,

(resending updated version for 2.5.69)

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.

--- linux-2.5.69/include/linux/console.h.orig Mon May 5 16:32:47 2003
+++ linux-2.5.69/include/linux/console.h Mon May 5 16:33:13 2003
@@ -96,7 +96,7 @@
char name[8];
void (*write)(struct console *, const char *, unsigned);
- int (*read)(struct console *, const char *, unsigned);
+ int (*read)(struct console *, char *, unsigned);
struct tty_driver *(*device)(struct console *, int *);
void (*unblank)(void);
int (*setup)(struct console *, char *);
Amit Shah

A: No.
Q: Should I include quotations after my reply?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.038 / U:0.872 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site