All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4EAD72F5.9010800@gmx.de>

diff --git a/a/1.txt b/N1/1.txt
index e18b22e..006ddfa 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -154,7 +154,7 @@ Florian Tobias Schandinat
 > +	const struct gio_device_id *ids;
 > +
 > +	for (ids = match; ids->id != 0xff; ids++)
-> +		if (ids->id = dev->id.id)
+> +		if (ids->id == dev->id.id)
 > +			return ids;
 > +
 > +	return NULL;
@@ -405,9 +405,9 @@ Florian Tobias Schandinat
 > +		get_dbe(tmp8, ptr8);
 > +		ptr16 = (void *)CKSEG1ADDR(addr + 2);
 > +		get_dbe(tmp16, ptr16);
-> +		if (tmp8 = (tmp16 & 0xff) &&
-> +		    tmp8 = (tmp32 & 0xff) &&
-> +		    tmp16 = (tmp32 & 0xffff)) {
+> +		if (tmp8 == (tmp16 & 0xff) &&
+> +		    tmp8 == (tmp32 & 0xff) &&
+> +		    tmp16 == (tmp32 & 0xffff)) {
 > +			*res = tmp32;
 > +			return 1;
 > +		}
@@ -426,7 +426,7 @@ Florian Tobias Schandinat
 > +	/* HQ2 only allows 32bit accesses */
 > +	ptr = (void *)CKSEG1ADDR(addr + HQ2_MYSTERY_OFFS);
 > +	if (!get_dbe(tmp, ptr)) {
-> +		if (tmp = 0xdeadbeef)
+> +		if (tmp == 0xdeadbeef)
 > +			return 1;
 > +	}
 > +	return 0;
@@ -464,7 +464,7 @@ Florian Tobias Schandinat
 > +				ip22_gio_set_64bit(slotno);
 > +		}
 > +		for (i = 0; i < ARRAY_SIZE(gio_name_table); i++) {
-> +			if (id = gio_name_table[i].id) {
+> +			if (id == gio_name_table[i].id) {
 > +				name = gio_name_table[i].name;
 > +				break;
 > +			}
@@ -596,7 +596,7 @@ Florian Tobias Schandinat
 > -			       ? gfxinfo[1] - 0xa0000000 : 0);
 > -
 > -		/* newport addresses? */
-> -		if (sgi_gfxaddr = 0x1f0f0000 || sgi_gfxaddr = 0x1f4f0000) {
+> -		if (sgi_gfxaddr == 0x1f0f0000 || sgi_gfxaddr == 0x1f4f0000) {
 > -			conswitchp = &newport_con;
 > -		}
 > -	}
diff --git a/a/content_digest b/N1/content_digest
index 3a7bbe5..54f3ecd 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -164,7 +164,7 @@
  "> +\tconst struct gio_device_id *ids;\n"
  "> +\n"
  "> +\tfor (ids = match; ids->id != 0xff; ids++)\n"
- "> +\t\tif (ids->id = dev->id.id)\n"
+ "> +\t\tif (ids->id == dev->id.id)\n"
  "> +\t\t\treturn ids;\n"
  "> +\n"
  "> +\treturn NULL;\n"
@@ -415,9 +415,9 @@
  "> +\t\tget_dbe(tmp8, ptr8);\n"
  "> +\t\tptr16 = (void *)CKSEG1ADDR(addr + 2);\n"
  "> +\t\tget_dbe(tmp16, ptr16);\n"
- "> +\t\tif (tmp8 = (tmp16 & 0xff) &&\n"
- "> +\t\t    tmp8 = (tmp32 & 0xff) &&\n"
- "> +\t\t    tmp16 = (tmp32 & 0xffff)) {\n"
+ "> +\t\tif (tmp8 == (tmp16 & 0xff) &&\n"
+ "> +\t\t    tmp8 == (tmp32 & 0xff) &&\n"
+ "> +\t\t    tmp16 == (tmp32 & 0xffff)) {\n"
  "> +\t\t\t*res = tmp32;\n"
  "> +\t\t\treturn 1;\n"
  "> +\t\t}\n"
@@ -436,7 +436,7 @@
  "> +\t/* HQ2 only allows 32bit accesses */\n"
  "> +\tptr = (void *)CKSEG1ADDR(addr + HQ2_MYSTERY_OFFS);\n"
  "> +\tif (!get_dbe(tmp, ptr)) {\n"
- "> +\t\tif (tmp = 0xdeadbeef)\n"
+ "> +\t\tif (tmp == 0xdeadbeef)\n"
  "> +\t\t\treturn 1;\n"
  "> +\t}\n"
  "> +\treturn 0;\n"
@@ -474,7 +474,7 @@
  "> +\t\t\t\tip22_gio_set_64bit(slotno);\n"
  "> +\t\t}\n"
  "> +\t\tfor (i = 0; i < ARRAY_SIZE(gio_name_table); i++) {\n"
- "> +\t\t\tif (id = gio_name_table[i].id) {\n"
+ "> +\t\t\tif (id == gio_name_table[i].id) {\n"
  "> +\t\t\t\tname = gio_name_table[i].name;\n"
  "> +\t\t\t\tbreak;\n"
  "> +\t\t\t}\n"
@@ -606,7 +606,7 @@
  "> -\t\t\t       ? gfxinfo[1] - 0xa0000000 : 0);\n"
  "> -\n"
  "> -\t\t/* newport addresses? */\n"
- "> -\t\tif (sgi_gfxaddr = 0x1f0f0000 || sgi_gfxaddr = 0x1f4f0000) {\n"
+ "> -\t\tif (sgi_gfxaddr == 0x1f0f0000 || sgi_gfxaddr == 0x1f4f0000) {\n"
  "> -\t\t\tconswitchp = &newport_con;\n"
  "> -\t\t}\n"
  "> -\t}\n"
@@ -715,4 +715,4 @@
  ">  MODULE_LICENSE(\"GPL\");\n"
  >
 
-ea5a92fb398728ab368e2841e5efeabd4d0833687addac7e2106613eea3dc140
+6565eb495e5093c97f5bb011a4c3aed2fc1be85aed6da4fb133c64f69b2affab

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.