All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20121214055341.10081.24472.sendpatchset@w520>

diff --git a/a/1.txt b/N1/1.txt
index bb4aa1f..5ef1983 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -16,7 +16,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
  			   unsigned long clockevent_rating,
  			   unsigned long clocksource_rating)
  {
--	if (p->width = (sizeof(p->max_match_value) * 8))
+-	if (p->width == (sizeof(p->max_match_value) * 8))
 -		p->max_match_value = ~0;
 -	else
 -		p->max_match_value = (1 << p->width) - 1;
@@ -31,7 +31,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
  		p->clear_bits = ~0xc000;
  	}
  
-+	if (p->width = (sizeof(p->max_match_value) * 8))
++	if (p->width == (sizeof(p->max_match_value) * 8))
 +		p->max_match_value = ~0;
 +	else
 +		p->max_match_value = (1 << p->width) - 1;
diff --git a/a/content_digest b/N1/content_digest
index e309817..a386bd5 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020121214055323.10081.12056.sendpatchset@w520\0"
  "From\0Magnus Damm <magnus.damm@gmail.com>\0"
  "Subject\0[PATCH 02/08] clocksource: sh_cmt: Initialize 'max_match_value' and 'lock' in sh_cmt_setup()\0"
- "Date\0Fri, 14 Dec 2012 05:53:41 +0000\0"
+ "Date\0Fri, 14 Dec 2012 14:53:41 +0900\0"
  "To\0linux-kernel@vger.kernel.org\0"
  "Cc\0linux-sh@vger.kernel.org"
   johnstul@us.ibm.com
@@ -29,7 +29,7 @@
  " \t\t\t   unsigned long clockevent_rating,\n"
  " \t\t\t   unsigned long clocksource_rating)\n"
  " {\n"
- "-\tif (p->width = (sizeof(p->max_match_value) * 8))\n"
+ "-\tif (p->width == (sizeof(p->max_match_value) * 8))\n"
  "-\t\tp->max_match_value = ~0;\n"
  "-\telse\n"
  "-\t\tp->max_match_value = (1 << p->width) - 1;\n"
@@ -44,7 +44,7 @@
  " \t\tp->clear_bits = ~0xc000;\n"
  " \t}\n"
  " \n"
- "+\tif (p->width = (sizeof(p->max_match_value) * 8))\n"
+ "+\tif (p->width == (sizeof(p->max_match_value) * 8))\n"
  "+\t\tp->max_match_value = ~0;\n"
  "+\telse\n"
  "+\t\tp->max_match_value = (1 << p->width) - 1;\n"
@@ -56,4 +56,4 @@
  " \t\t\t      cfg->clockevent_rating,\n"
  " \t\t\t      cfg->clocksource_rating);"
 
-50ed3c24b45ba06298e1b06e9a3c3551ec86173798a8163c1d53d5951f164a32
+d6105f79c4f1a7517a7dbad197045cceb4d7c67d3ed466e09e609d1b3a745589

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.