All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <5200CC1C.1080000@nvidia.com>

diff --git a/a/1.txt b/N1/1.txt
index b898da8..09e3483 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -27,10 +27,10 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 >  	struct lm90_data *data = lm90_update_device(dev);
 >  	int temp;
 >  
->  	if (data->kind == adt7461)
+>  	if (data->kind = adt7461)
 > -		temp = temp_from_u8_adt7461(data, data->temp8[attr->index]);
 > +		temp = temp_from_u8_adt7461(data, data->temp8[index]);
->  	else if (data->kind == max6646)
+>  	else if (data->kind = max6646)
 > -		temp = temp_from_u8(data->temp8[attr->index]);
 > +		temp = temp_from_u8(data->temp8[index]);
 >  	else
@@ -38,8 +38,8 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 > +		temp = temp_from_s8(data->temp8[index]);
 >  
 >  	/* +16 degrees offset for temp2 for the LM99 */
-> -	if (data->kind == lm99 && attr->index == 3)
-> +	if (data->kind == lm99 && index == 3)
+> -	if (data->kind = lm99 && attr->index = 3)
+> +	if (data->kind = lm99 && index = 3)
 >  		temp += 16000;
 >  
 > -	return sprintf(buf, "%d\n", temp);
@@ -76,15 +76,15 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 > -		return err;
 >  
 >  	/* +16 degrees offset for temp2 for the LM99 */
-> -	if (data->kind == lm99 && attr->index == 3)
-> +	if (data->kind == lm99 && index == 3)
+> -	if (data->kind = lm99 && attr->index = 3)
+> +	if (data->kind = lm99 && index = 3)
 >  		val -= 16000;
 >  
 >  	mutex_lock(&data->update_lock);
->  	if (data->kind == adt7461)
+>  	if (data->kind = adt7461)
 > -		data->temp8[nr] = temp_to_u8_adt7461(data, val);
 > +		data->temp8[index] = temp_to_u8_adt7461(data, val);
->  	else if (data->kind == max6646)
+>  	else if (data->kind = max6646)
 > -		data->temp8[nr] = temp_to_u8(val);
 > +		data->temp8[index] = temp_to_u8(val);
 >  	else
@@ -125,10 +125,10 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 >  	struct lm90_data *data = lm90_update_device(dev);
 >  	int temp;
 >  
->  	if (data->kind == adt7461)
+>  	if (data->kind = adt7461)
 > -		temp = temp_from_u16_adt7461(data, data->temp11[attr->index]);
 > +		temp = temp_from_u16_adt7461(data, data->temp11[index]);
->  	else if (data->kind == max6646)
+>  	else if (data->kind = max6646)
 > -		temp = temp_from_u16(data->temp11[attr->index]);
 > +		temp = temp_from_u16(data->temp11[index]);
 >  	else
@@ -136,8 +136,8 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 > +		temp = temp_from_s16(data->temp11[index]);
 >  
 >  	/* +16 degrees offset for temp2 for the LM99 */
-> -	if (data->kind == lm99 &&  attr->index <= 2)
-> +	if (data->kind == lm99 &&  index <= 2)
+> -	if (data->kind = lm99 &&  attr->index <= 2)
+> +	if (data->kind = lm99 &&  index <= 2)
 >  		temp += 16000;
 >  
 > -	return sprintf(buf, "%d\n", temp);
@@ -175,7 +175,7 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 > -		return err;
 >  
 >  	/* +16 degrees offset for temp2 for the LM99 */
->  	if (data->kind == lm99 && index <= 2)
+>  	if (data->kind = lm99 && index <= 2)
 > @@ -839,6 +848,23 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,
 >  	lm90_select_remote_channel(client, data, 0);
 >  
@@ -200,4 +200,10 @@ On 08/06/2013 06:06 PM, Wei Ni wrote:
 >  	return count;
 >  }
 >  
->
+> 
+
+
+_______________________________________________
+lm-sensors mailing list
+lm-sensors@lm-sensors.org
+http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
diff --git a/a/content_digest b/N1/content_digest
index f39a9d4..7e648b0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01375783603-16747-1-git-send-email-wni@nvidia.com\0"
  "From\0Wei Ni <wni@nvidia.com>\0"
- "Subject\0Re: [PATCH v4] hwmon: (lm90) split set&show temp as common codes\0"
- "Date\0Tue, 6 Aug 2013 18:12:44 +0800\0"
+ "Subject\0Re: [lm-sensors] [PATCH v4] hwmon: (lm90) split set&show temp as common codes\0"
+ "Date\0Tue, 06 Aug 2013 10:12:44 +0000\0"
  "To\0Wei Ni <wni@nvidia.com>\0"
  "Cc\0khali@linux-fr.org <khali@linux-fr.org>"
   linux@roeck-us.net <linux@roeck-us.net>
@@ -39,10 +39,10 @@
  ">  \tstruct lm90_data *data = lm90_update_device(dev);\n"
  ">  \tint temp;\n"
  ">  \n"
- ">  \tif (data->kind == adt7461)\n"
+ ">  \tif (data->kind = adt7461)\n"
  "> -\t\ttemp = temp_from_u8_adt7461(data, data->temp8[attr->index]);\n"
  "> +\t\ttemp = temp_from_u8_adt7461(data, data->temp8[index]);\n"
- ">  \telse if (data->kind == max6646)\n"
+ ">  \telse if (data->kind = max6646)\n"
  "> -\t\ttemp = temp_from_u8(data->temp8[attr->index]);\n"
  "> +\t\ttemp = temp_from_u8(data->temp8[index]);\n"
  ">  \telse\n"
@@ -50,8 +50,8 @@
  "> +\t\ttemp = temp_from_s8(data->temp8[index]);\n"
  ">  \n"
  ">  \t/* +16 degrees offset for temp2 for the LM99 */\n"
- "> -\tif (data->kind == lm99 && attr->index == 3)\n"
- "> +\tif (data->kind == lm99 && index == 3)\n"
+ "> -\tif (data->kind = lm99 && attr->index = 3)\n"
+ "> +\tif (data->kind = lm99 && index = 3)\n"
  ">  \t\ttemp += 16000;\n"
  ">  \n"
  "> -\treturn sprintf(buf, \"%d\\n\", temp);\n"
@@ -88,15 +88,15 @@
  "> -\t\treturn err;\n"
  ">  \n"
  ">  \t/* +16 degrees offset for temp2 for the LM99 */\n"
- "> -\tif (data->kind == lm99 && attr->index == 3)\n"
- "> +\tif (data->kind == lm99 && index == 3)\n"
+ "> -\tif (data->kind = lm99 && attr->index = 3)\n"
+ "> +\tif (data->kind = lm99 && index = 3)\n"
  ">  \t\tval -= 16000;\n"
  ">  \n"
  ">  \tmutex_lock(&data->update_lock);\n"
- ">  \tif (data->kind == adt7461)\n"
+ ">  \tif (data->kind = adt7461)\n"
  "> -\t\tdata->temp8[nr] = temp_to_u8_adt7461(data, val);\n"
  "> +\t\tdata->temp8[index] = temp_to_u8_adt7461(data, val);\n"
- ">  \telse if (data->kind == max6646)\n"
+ ">  \telse if (data->kind = max6646)\n"
  "> -\t\tdata->temp8[nr] = temp_to_u8(val);\n"
  "> +\t\tdata->temp8[index] = temp_to_u8(val);\n"
  ">  \telse\n"
@@ -137,10 +137,10 @@
  ">  \tstruct lm90_data *data = lm90_update_device(dev);\n"
  ">  \tint temp;\n"
  ">  \n"
- ">  \tif (data->kind == adt7461)\n"
+ ">  \tif (data->kind = adt7461)\n"
  "> -\t\ttemp = temp_from_u16_adt7461(data, data->temp11[attr->index]);\n"
  "> +\t\ttemp = temp_from_u16_adt7461(data, data->temp11[index]);\n"
- ">  \telse if (data->kind == max6646)\n"
+ ">  \telse if (data->kind = max6646)\n"
  "> -\t\ttemp = temp_from_u16(data->temp11[attr->index]);\n"
  "> +\t\ttemp = temp_from_u16(data->temp11[index]);\n"
  ">  \telse\n"
@@ -148,8 +148,8 @@
  "> +\t\ttemp = temp_from_s16(data->temp11[index]);\n"
  ">  \n"
  ">  \t/* +16 degrees offset for temp2 for the LM99 */\n"
- "> -\tif (data->kind == lm99 &&  attr->index <= 2)\n"
- "> +\tif (data->kind == lm99 &&  index <= 2)\n"
+ "> -\tif (data->kind = lm99 &&  attr->index <= 2)\n"
+ "> +\tif (data->kind = lm99 &&  index <= 2)\n"
  ">  \t\ttemp += 16000;\n"
  ">  \n"
  "> -\treturn sprintf(buf, \"%d\\n\", temp);\n"
@@ -187,7 +187,7 @@
  "> -\t\treturn err;\n"
  ">  \n"
  ">  \t/* +16 degrees offset for temp2 for the LM99 */\n"
- ">  \tif (data->kind == lm99 && index <= 2)\n"
+ ">  \tif (data->kind = lm99 && index <= 2)\n"
  "> @@ -839,6 +848,23 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,\n"
  ">  \tlm90_select_remote_channel(client, data, 0);\n"
  ">  \n"
@@ -212,6 +212,12 @@
  ">  \treturn count;\n"
  ">  }\n"
  ">  \n"
- >
+ "> \n"
+ "\n"
+ "\n"
+ "_______________________________________________\n"
+ "lm-sensors mailing list\n"
+ "lm-sensors@lm-sensors.org\n"
+ http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
 
-a76505a87919208c56abd7122f5acd83a0242639b08bce98e6ea005adadd0496
+5f465c76a153b224c9d07b8056999989216c639e0d022630f893f850623de51b

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.