All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <10512287462983@kroah.com>

diff --git a/a/1.txt b/N1/1.txt
index 2be270f..86adde9 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -26,15 +26,15 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -{
 -	struct adm1021_data *data = i2c_get_clientdata(client);
 -
--	if (operation = SENSORS_PROC_REAL_INFO)
+-	if (operation == SENSORS_PROC_REAL_INFO)
 -		*nrels_mag = 0;
--	else if (operation = SENSORS_PROC_REAL_READ) {
+-	else if (operation == SENSORS_PROC_REAL_READ) {
 -		adm1021_update_client(client);
 -		results[0] = TEMP_FROM_REG(data->temp_max);
 -		results[1] = TEMP_FROM_REG(data->temp_hyst);
 -		results[2] = TEMP_FROM_REG(data->temp_input);
 -		*nrels_mag = 3;
--	} else if (operation = SENSORS_PROC_REAL_WRITE) {
+-	} else if (operation == SENSORS_PROC_REAL_WRITE) {
 -		if (*nrels_mag >= 1) {
 -			data->temp_max = TEMP_TO_REG(results[0]);
 -			adm1021_write_value(client, ADM1021_REG_TOS_W,
@@ -55,15 +55,15 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -	struct adm1021_data *data = i2c_get_clientdata(client);
 -	int prec = 0;
 -
--	if (operation = SENSORS_PROC_REAL_INFO)
--		if (data->type = adm1023) { *nrels_mag = 3; }
+-	if (operation == SENSORS_PROC_REAL_INFO)
+-		if (data->type == adm1023) { *nrels_mag = 3; }
 -                 else { *nrels_mag = 0; }
--	else if (operation = SENSORS_PROC_REAL_READ) {
+-	else if (operation == SENSORS_PROC_REAL_READ) {
 -		adm1021_update_client(client);
 -		results[0] = TEMP_FROM_REG(data->remote_temp_max);
 -		results[1] = TEMP_FROM_REG(data->remote_temp_hyst);
 -		results[2] = TEMP_FROM_REG(data->remote_temp_input);
--		if (data->type = adm1023) {
+-		if (data->type == adm1023) {
 -			results[0] = results[0]*1000 + ((data->remote_temp_os_prec >> 5) * 125);
 -			results[1] = results[1]*1000 + ((data->remote_temp_hyst_prec >> 5) * 125);
 -			results[2] = (TEMP_FROM_REG(data->remote_temp_offset)*1000) + ((data->remote_temp_offset_prec >> 5) * 125);
@@ -72,9 +72,9 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -		} else {
 - 			*nrels_mag = 3;
 -		}
--	} else if (operation = SENSORS_PROC_REAL_WRITE) {
+-	} else if (operation == SENSORS_PROC_REAL_WRITE) {
 -		if (*nrels_mag >= 1) {
--			if (data->type = adm1023) {
+-			if (data->type == adm1023) {
 -				prec = ((results[0]-((results[0]/1000)*1000))/125)<<5;
 -				adm1021_write_value(client, ADM1021_REG_REM_TOS_PREC, prec);
 -				results[0] = results[0]/1000;
@@ -84,7 +84,7 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -			adm1021_write_value(client, ADM1021_REG_REMOTE_TOS_W, data->remote_temp_max);
 -		}
 -		if (*nrels_mag >= 2) {
--			if (data->type = adm1023) {
+-			if (data->type == adm1023) {
 -				prec = ((results[1]-((results[1]/1000)*1000))/125)<<5;
 -				adm1021_write_value(client, ADM1021_REG_REM_THYST_PREC, prec);
 -				results[1] = results[1]/1000;
@@ -94,7 +94,7 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -			adm1021_write_value(client, ADM1021_REG_REMOTE_THYST_W, data->remote_temp_hyst);
 -		}
 -		if (*nrels_mag >= 3) {
--			if (data->type = adm1023) {
+-			if (data->type == adm1023) {
 -				prec = ((results[2]-((results[2]/1000)*1000))/125)<<5;
 -				adm1021_write_value(client, ADM1021_REG_REM_OFFSET_PREC, prec);
 -				results[2]=results[2]/1000;
@@ -112,13 +112,13 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -{
 -	struct adm1021_data *data = i2c_get_clientdata(client);
 -
--	if (operation = SENSORS_PROC_REAL_INFO)
+-	if (operation == SENSORS_PROC_REAL_INFO)
 -		*nrels_mag = 0;
--	else if (operation = SENSORS_PROC_REAL_READ) {
+-	else if (operation == SENSORS_PROC_REAL_READ) {
 -		adm1021_update_client(client);
 -		results[0] = data->die_code;
 -		*nrels_mag = 1;
--	} else if (operation = SENSORS_PROC_REAL_WRITE) {
+-	} else if (operation == SENSORS_PROC_REAL_WRITE) {
 -		/* Can't write to it */
 -	}
 -}
@@ -128,13 +128,13 @@ diff -Nru a/drivers/i2c/chips/adm1021.c b/drivers/i2c/chips/adm1021.c
 -			   int ctl_name, int *nrels_mag, long *results)
 -{
 -	struct adm1021_data *data = i2c_get_clientdata(client);
--	if (operation = SENSORS_PROC_REAL_INFO)
+-	if (operation == SENSORS_PROC_REAL_INFO)
 -		*nrels_mag = 0;
--	else if (operation = SENSORS_PROC_REAL_READ) {
+-	else if (operation == SENSORS_PROC_REAL_READ) {
 -		adm1021_update_client(client);
 -		results[0] = data->alarms;
 -		*nrels_mag = 1;
--	} else if (operation = SENSORS_PROC_REAL_WRITE) {
+-	} else if (operation == SENSORS_PROC_REAL_WRITE) {
 -		/* Can't write to it */
 -	}
 -}
diff --git a/a/content_digest b/N1/content_digest
index cb6eedd..ce809c2 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,7 @@
  "ref\01051228746897@kroah.com\0"
- "ref\010512287461373@kroah.com\0"
- "From\0greg@kroah.com (Greg KH)\0"
- "Subject\0[PATCH] i2c driver changes for 2.5.68\0"
- "Date\0Thu, 19 May 2005 06:23:54 +0000\0"
+ "From\0Greg KH <greg@kroah.com>\0"
+ "Subject\0Re: [PATCH] i2c driver changes for 2.5.68\0"
+ "Date\0Thu, 24 Apr 2003 16:59:06 -0700\0"
  "To\0linux-kernel@vger.kernel.org"
  " sensors@stimpy.netroedge.com\0"
  "\00:1\0"
@@ -35,15 +34,15 @@
  "-{\n"
  "-\tstruct adm1021_data *data = i2c_get_clientdata(client);\n"
  "-\n"
- "-\tif (operation = SENSORS_PROC_REAL_INFO)\n"
+ "-\tif (operation == SENSORS_PROC_REAL_INFO)\n"
  "-\t\t*nrels_mag = 0;\n"
- "-\telse if (operation = SENSORS_PROC_REAL_READ) {\n"
+ "-\telse if (operation == SENSORS_PROC_REAL_READ) {\n"
  "-\t\tadm1021_update_client(client);\n"
  "-\t\tresults[0] = TEMP_FROM_REG(data->temp_max);\n"
  "-\t\tresults[1] = TEMP_FROM_REG(data->temp_hyst);\n"
  "-\t\tresults[2] = TEMP_FROM_REG(data->temp_input);\n"
  "-\t\t*nrels_mag = 3;\n"
- "-\t} else if (operation = SENSORS_PROC_REAL_WRITE) {\n"
+ "-\t} else if (operation == SENSORS_PROC_REAL_WRITE) {\n"
  "-\t\tif (*nrels_mag >= 1) {\n"
  "-\t\t\tdata->temp_max = TEMP_TO_REG(results[0]);\n"
  "-\t\t\tadm1021_write_value(client, ADM1021_REG_TOS_W,\n"
@@ -64,15 +63,15 @@
  "-\tstruct adm1021_data *data = i2c_get_clientdata(client);\n"
  "-\tint prec = 0;\n"
  "-\n"
- "-\tif (operation = SENSORS_PROC_REAL_INFO)\n"
- "-\t\tif (data->type = adm1023) { *nrels_mag = 3; }\n"
+ "-\tif (operation == SENSORS_PROC_REAL_INFO)\n"
+ "-\t\tif (data->type == adm1023) { *nrels_mag = 3; }\n"
  "-                 else { *nrels_mag = 0; }\n"
- "-\telse if (operation = SENSORS_PROC_REAL_READ) {\n"
+ "-\telse if (operation == SENSORS_PROC_REAL_READ) {\n"
  "-\t\tadm1021_update_client(client);\n"
  "-\t\tresults[0] = TEMP_FROM_REG(data->remote_temp_max);\n"
  "-\t\tresults[1] = TEMP_FROM_REG(data->remote_temp_hyst);\n"
  "-\t\tresults[2] = TEMP_FROM_REG(data->remote_temp_input);\n"
- "-\t\tif (data->type = adm1023) {\n"
+ "-\t\tif (data->type == adm1023) {\n"
  "-\t\t\tresults[0] = results[0]*1000 + ((data->remote_temp_os_prec >> 5) * 125);\n"
  "-\t\t\tresults[1] = results[1]*1000 + ((data->remote_temp_hyst_prec >> 5) * 125);\n"
  "-\t\t\tresults[2] = (TEMP_FROM_REG(data->remote_temp_offset)*1000) + ((data->remote_temp_offset_prec >> 5) * 125);\n"
@@ -81,9 +80,9 @@
  "-\t\t} else {\n"
  "- \t\t\t*nrels_mag = 3;\n"
  "-\t\t}\n"
- "-\t} else if (operation = SENSORS_PROC_REAL_WRITE) {\n"
+ "-\t} else if (operation == SENSORS_PROC_REAL_WRITE) {\n"
  "-\t\tif (*nrels_mag >= 1) {\n"
- "-\t\t\tif (data->type = adm1023) {\n"
+ "-\t\t\tif (data->type == adm1023) {\n"
  "-\t\t\t\tprec = ((results[0]-((results[0]/1000)*1000))/125)<<5;\n"
  "-\t\t\t\tadm1021_write_value(client, ADM1021_REG_REM_TOS_PREC, prec);\n"
  "-\t\t\t\tresults[0] = results[0]/1000;\n"
@@ -93,7 +92,7 @@
  "-\t\t\tadm1021_write_value(client, ADM1021_REG_REMOTE_TOS_W, data->remote_temp_max);\n"
  "-\t\t}\n"
  "-\t\tif (*nrels_mag >= 2) {\n"
- "-\t\t\tif (data->type = adm1023) {\n"
+ "-\t\t\tif (data->type == adm1023) {\n"
  "-\t\t\t\tprec = ((results[1]-((results[1]/1000)*1000))/125)<<5;\n"
  "-\t\t\t\tadm1021_write_value(client, ADM1021_REG_REM_THYST_PREC, prec);\n"
  "-\t\t\t\tresults[1] = results[1]/1000;\n"
@@ -103,7 +102,7 @@
  "-\t\t\tadm1021_write_value(client, ADM1021_REG_REMOTE_THYST_W, data->remote_temp_hyst);\n"
  "-\t\t}\n"
  "-\t\tif (*nrels_mag >= 3) {\n"
- "-\t\t\tif (data->type = adm1023) {\n"
+ "-\t\t\tif (data->type == adm1023) {\n"
  "-\t\t\t\tprec = ((results[2]-((results[2]/1000)*1000))/125)<<5;\n"
  "-\t\t\t\tadm1021_write_value(client, ADM1021_REG_REM_OFFSET_PREC, prec);\n"
  "-\t\t\t\tresults[2]=results[2]/1000;\n"
@@ -121,13 +120,13 @@
  "-{\n"
  "-\tstruct adm1021_data *data = i2c_get_clientdata(client);\n"
  "-\n"
- "-\tif (operation = SENSORS_PROC_REAL_INFO)\n"
+ "-\tif (operation == SENSORS_PROC_REAL_INFO)\n"
  "-\t\t*nrels_mag = 0;\n"
- "-\telse if (operation = SENSORS_PROC_REAL_READ) {\n"
+ "-\telse if (operation == SENSORS_PROC_REAL_READ) {\n"
  "-\t\tadm1021_update_client(client);\n"
  "-\t\tresults[0] = data->die_code;\n"
  "-\t\t*nrels_mag = 1;\n"
- "-\t} else if (operation = SENSORS_PROC_REAL_WRITE) {\n"
+ "-\t} else if (operation == SENSORS_PROC_REAL_WRITE) {\n"
  "-\t\t/* Can't write to it */\n"
  "-\t}\n"
  "-}\n"
@@ -137,13 +136,13 @@
  "-\t\t\t   int ctl_name, int *nrels_mag, long *results)\n"
  "-{\n"
  "-\tstruct adm1021_data *data = i2c_get_clientdata(client);\n"
- "-\tif (operation = SENSORS_PROC_REAL_INFO)\n"
+ "-\tif (operation == SENSORS_PROC_REAL_INFO)\n"
  "-\t\t*nrels_mag = 0;\n"
- "-\telse if (operation = SENSORS_PROC_REAL_READ) {\n"
+ "-\telse if (operation == SENSORS_PROC_REAL_READ) {\n"
  "-\t\tadm1021_update_client(client);\n"
  "-\t\tresults[0] = data->alarms;\n"
  "-\t\t*nrels_mag = 1;\n"
- "-\t} else if (operation = SENSORS_PROC_REAL_WRITE) {\n"
+ "-\t} else if (operation == SENSORS_PROC_REAL_WRITE) {\n"
  "-\t\t/* Can't write to it */\n"
  "-\t}\n"
  "-}\n"
@@ -152,4 +151,4 @@
  " {\n"
  " \treturn i2c_add_driver(&adm1021_driver);"
 
-390f8abfa5aa0278d7641533000c671db2613db95247e56dd77398f93cf9b72a
+e160efd640bd07b1b7b27f709d0f02575ed145b32ba380b79642fd1c0ca6555d

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.