All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5239.1159325150@kao2.melbourne.sgi.com>

diff --git a/a/1.txt b/N1/1.txt
index 26d8f9d..c365a3c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,7 +22,8 @@ KDB.  To fix just KDB, apply this patch over kdb-v4.4-2.6.18-common-1 and add
  1 file changed, 14 insertions(+), 1 deletion(-)
 
 Index: linux/arch/ia64/kdb/kdba_io.c
-=================================--- linux.orig/arch/ia64/kdb/kdba_io.c
+===================================================================
+--- linux.orig/arch/ia64/kdb/kdba_io.c
 +++ linux/arch/ia64/kdb/kdba_io.c
 @@ -38,6 +38,7 @@
  #else
@@ -33,12 +34,12 @@ Index: linux/arch/ia64/kdb/kdba_io.c
  #ifdef CONFIG_KDB_USB
  struct kdb_usb_exchange kdb_usb_infos;
 @@ -334,7 +335,8 @@ static int get_kbd_char(void)
- 		if (kbd_exists = 0)
+ 		if (kbd_exists == 0)
  			return -1;
  
--		if (inb(KBD_STATUS_REG) = 0xff && inb(KBD_DATA_REG) = 0xff) {
+-		if (inb(KBD_STATUS_REG) == 0xff && inb(KBD_DATA_REG) == 0xff) {
 +		if (kdb_skip_keyboard ||
-+		    (inb(KBD_STATUS_REG) = 0xff && inb(KBD_DATA_REG) = 0xff)) {
++		    (inb(KBD_STATUS_REG) == 0xff && inb(KBD_DATA_REG) == 0xff)) {
  			kbd_exists = 0;
  			return -1;
  		}
diff --git a/a/content_digest b/N1/content_digest
index b9d6380..46b15f0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\0200609261354.30722.bjorn.helgaas@hp.com\0"
  "From\0Keith Owens <kaos@sgi.com>\0"
  "Subject\0Re: KDB blindly reads keyboard port\0"
- "Date\0Wed, 27 Sep 2006 02:45:50 +0000\0"
+ "Date\0Wed, 27 Sep 2006 12:45:50 +1000\0"
  "To\0Bjorn Helgaas <bjorn.helgaas@hp.com>\0"
  "Cc\0linux-kernel@vger.kernel.org"
  " linux-ia64@vger.kernel.org\0"
@@ -31,7 +31,8 @@
  " 1 file changed, 14 insertions(+), 1 deletion(-)\n"
  "\n"
  "Index: linux/arch/ia64/kdb/kdba_io.c\n"
- "=================================--- linux.orig/arch/ia64/kdb/kdba_io.c\n"
+ "===================================================================\n"
+ "--- linux.orig/arch/ia64/kdb/kdba_io.c\n"
  "+++ linux/arch/ia64/kdb/kdba_io.c\n"
  "@@ -38,6 +38,7 @@\n"
  " #else\n"
@@ -42,12 +43,12 @@
  " #ifdef CONFIG_KDB_USB\n"
  " struct kdb_usb_exchange kdb_usb_infos;\n"
  "@@ -334,7 +335,8 @@ static int get_kbd_char(void)\n"
- " \t\tif (kbd_exists = 0)\n"
+ " \t\tif (kbd_exists == 0)\n"
  " \t\t\treturn -1;\n"
  " \n"
- "-\t\tif (inb(KBD_STATUS_REG) = 0xff && inb(KBD_DATA_REG) = 0xff) {\n"
+ "-\t\tif (inb(KBD_STATUS_REG) == 0xff && inb(KBD_DATA_REG) == 0xff) {\n"
  "+\t\tif (kdb_skip_keyboard ||\n"
- "+\t\t    (inb(KBD_STATUS_REG) = 0xff && inb(KBD_DATA_REG) = 0xff)) {\n"
+ "+\t\t    (inb(KBD_STATUS_REG) == 0xff && inb(KBD_DATA_REG) == 0xff)) {\n"
  " \t\t\tkbd_exists = 0;\n"
  " \t\t\treturn -1;\n"
  " \t\t}\n"
@@ -67,4 +68,4 @@
  "+}\n"
  "+__setup(\"kdb_skip_keyboard\", kdb_skip_keyboard_setup);"
 
-e4e2fa20c91453bb0cb4bb01f8afbd88b7e0b5b43441f45cb26c0de4f8e9a2d6
+4d89dc0e4f793d6b7d043e122112932ef6ce96e2e8e140360367f6576153e545

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.