[2.5] const char* to char* update in console.h
Subsystems (2)
PATCH 1/1 [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.
include/linux/console.h renamed from include/linux/console.h.orig +1 -1
@@ -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 *);
Signature · 5 lines
Amit Shah http://amitshah.nav.to/ A: No. Q: Should I include quotations after my reply?