[TRIVIAL] const char* to char* update in console.h

From: Rusty Trivial Russell (rusty@rustcorp.com.au)
Date: Fri Apr 18 2003 - 02:46:46 EST


[ Not sure who is responsible for this, but seems correct -- RR]

From: Amit Shah <amitshah@gmx.net>

  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.
  

--- trivial-2.5.67-bk8/include/linux/console.h.orig 2003-04-18 17:43:45.000000000 +1000
+++ trivial-2.5.67-bk8/include/linux/console.h 2003-04-18 17:43:45.000000000 +1000
@@ -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);
         kdev_t (*device)(struct console *);
         void (*unblank)(void);
         int (*setup)(struct console *, char *);

-- 
  Don't blame me: the Monkey is driving
  File: Amit Shah <amitshah@gmx.net>: [TRIVIAL] [PATCH][2.5] const char_ to char_ update in console.h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:23 EST