All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20110223202601.GH19898@bicker>

diff --git a/a/1.txt b/N1/1.txt
index 7aefab2..ae596a6 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,5 +1,5 @@
-"=" has higher precedence than "&".  Since
-if (sch311x_sio_inb(sio_config_port, 0x30) & (0x01 = 0)) is always
+"==" has higher precedence than "&".  Since
+if (sch311x_sio_inb(sio_config_port, 0x30) & (0x01 == 0)) is always
 false the message is never printed.
 
 Signed-off-by: Dan Carpenter <error27@gmail.com>
@@ -14,8 +14,8 @@ index 7b687e9..b61ab1c 100644
  	sch311x_sio_outb(sio_config_port, 0x07, 0x0a);
  
  	/* Check if Logical Device Register is currently active */
--	if (sch311x_sio_inb(sio_config_port, 0x30) & 0x01 = 0)
-+	if ((sch311x_sio_inb(sio_config_port, 0x30) & 0x01) = 0)
+-	if (sch311x_sio_inb(sio_config_port, 0x30) & 0x01 == 0)
++	if ((sch311x_sio_inb(sio_config_port, 0x30) & 0x01) == 0)
  		printk(KERN_INFO PFX "Seems that LDN 0x0a is not active...\n");
  
  	/* Get the base address of the runtime registers */
diff --git a/a/content_digest b/N1/content_digest
index ec89678..a254127 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,13 +1,13 @@
  "From\0Dan Carpenter <error27@gmail.com>\0"
  "Subject\0[patch] watchdog: sch311x_wdt: fix printk condition\0"
- "Date\0Wed, 23 Feb 2011 20:26:01 +0000\0"
+ "Date\0Wed, 23 Feb 2011 23:26:01 +0300\0"
  "To\0Wim Van Sebroeck <wim@iguana.be>\0"
  "Cc\0linux-watchdog@vger.kernel.org"
  " kernel-janitors@vger.kernel.org\0"
  "\00:1\0"
  "b\0"
- "\"=\" has higher precedence than \"&\".  Since\n"
- "if (sch311x_sio_inb(sio_config_port, 0x30) & (0x01 = 0)) is always\n"
+ "\"==\" has higher precedence than \"&\".  Since\n"
+ "if (sch311x_sio_inb(sio_config_port, 0x30) & (0x01 == 0)) is always\n"
  "false the message is never printed.\n"
  "\n"
  "Signed-off-by: Dan Carpenter <error27@gmail.com>\n"
@@ -22,10 +22,10 @@
  " \tsch311x_sio_outb(sio_config_port, 0x07, 0x0a);\n"
  " \n"
  " \t/* Check if Logical Device Register is currently active */\n"
- "-\tif (sch311x_sio_inb(sio_config_port, 0x30) & 0x01 = 0)\n"
- "+\tif ((sch311x_sio_inb(sio_config_port, 0x30) & 0x01) = 0)\n"
+ "-\tif (sch311x_sio_inb(sio_config_port, 0x30) & 0x01 == 0)\n"
+ "+\tif ((sch311x_sio_inb(sio_config_port, 0x30) & 0x01) == 0)\n"
  " \t\tprintk(KERN_INFO PFX \"Seems that LDN 0x0a is not active...\\n\");\n"
  " \n"
  " \t/* Get the base address of the runtime registers */"
 
-42201f70535fad663215e7bc9a92e5d62bca71664758eb00614ba38f30124171
+c48088ad189f5002856c8987db6d849cd2171293c5a31fb5b3d1bf72814d7434

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.