diff for duplicates of <20100827134523.6bcc70aa@hyperion.delvare> diff --git a/a/1.txt b/N1/1.txt index 1587ae1..2c07209 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -29,7 +29,7 @@ I'm fine with mostly anything, except... > + return err; > > /* +16 degrees offset for temp2 for the LM99 */ -> if (data->kind = lm99 && attr->index = 3) +> if (data->kind == lm99 && attr->index == 3) > @@ -442,8 +447,13 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, > struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); > struct i2c_client *client = to_i2c_client(dev); @@ -44,7 +44,7 @@ I'm fine with mostly anything, except... > + return err; > > /* +16 degrees offset for temp2 for the LM99 */ -> if (data->kind = lm99 && attr->index <= 2) +> if (data->kind == lm99 && attr->index <= 2) > @@ -469,7 +479,8 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr, > return count; > } @@ -69,7 +69,7 @@ I'm fine with mostly anything, except... > + return err; > + > mutex_lock(&data->update_lock); -> if (data->kind = adt7461) +> if (data->kind == adt7461) > temp = temp_from_u8_adt7461(data, data->temp8[2]); > @@ -600,7 +616,12 @@ static ssize_t set_pec(struct device *dev, struct device_attribute *dummy, > const char *buf, size_t count) @@ -169,7 +169,7 @@ No need to resend, I've just dropped the two chunks I don't like, and applied the resulting patch. Thanks! > -> if ((address = 0x4C || address = 0x4D) +> if ((address == 0x4C || address == 0x4D) > @@ -826,16 +858,18 @@ static int lm90_probe(struct i2c_client *new_client, > lm90_init_client(new_client); > @@ -198,8 +198,8 @@ applied the resulting patch. Thanks! > * 0.125 degree resolution) and range (0x08, extend range > * to -64 degree) mode for the remote temperature sensor. > */ -> - if (data->kind = max6680) { -> + if (data->kind = max6680) +> - if (data->kind == max6680) { +> + if (data->kind == max6680) > config |= 0x18; > - } > @@ -227,8 +227,3 @@ applied the resulting patch. Thanks! -- Jean Delvare - -_______________________________________________ -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 cea03d4..d1d3da7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01282838076-7175-1-git-send-email-guenter.roeck@ericsson.com\0" "From\0Jean Delvare <khali@linux-fr.org>\0" - "Subject\0Re: [lm-sensors] [PATCH] hwmon: Fix checkpatch errors in lm90 driver\0" - "Date\0Fri, 27 Aug 2010 11:45:23 +0000\0" + "Subject\0Re: [PATCH] hwmon: Fix checkpatch errors in lm90 driver\0" + "Date\0Fri, 27 Aug 2010 13:45:23 +0200\0" "To\0Guenter Roeck <guenter.roeck@ericsson.com>\0" "Cc\0Andrew Morton <akpm@linux-foundation.org>" Ira W. Snyder <iws@ovro.caltech.edu> @@ -41,7 +41,7 @@ "> +\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 && attr->index == 3)\n" "> @@ -442,8 +447,13 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,\n" "> \tstruct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);\n" "> \tstruct i2c_client *client = to_i2c_client(dev);\n" @@ -56,7 +56,7 @@ "> +\t\treturn err;\n" "> \n" "> \t/* +16 degrees offset for temp2 for the LM99 */\n" - "> \tif (data->kind = lm99 && attr->index <= 2)\n" + "> \tif (data->kind == lm99 && attr->index <= 2)\n" "> @@ -469,7 +479,8 @@ static ssize_t set_temp11(struct device *dev, struct device_attribute *devattr,\n" "> \treturn count;\n" "> }\n" @@ -81,7 +81,7 @@ "> +\t\treturn err;\n" "> +\n" "> \tmutex_lock(&data->update_lock);\n" - "> \tif (data->kind = adt7461)\n" + "> \tif (data->kind == adt7461)\n" "> \t\ttemp = temp_from_u8_adt7461(data, data->temp8[2]);\n" "> @@ -600,7 +616,12 @@ static ssize_t set_pec(struct device *dev, struct device_attribute *dummy,\n" "> \t\t const char *buf, size_t count)\n" @@ -181,7 +181,7 @@ "applied the resulting patch. Thanks!\n" "\n" "> \n" - "> \tif ((address = 0x4C || address = 0x4D)\n" + "> \tif ((address == 0x4C || address == 0x4D)\n" "> @@ -826,16 +858,18 @@ static int lm90_probe(struct i2c_client *new_client,\n" "> \tlm90_init_client(new_client);\n" "> \n" @@ -210,8 +210,8 @@ "> \t * 0.125 degree resolution) and range (0x08, extend range\n" "> \t * to -64 degree) mode for the remote temperature sensor.\n" "> \t */\n" - "> -\tif (data->kind = max6680) {\n" - "> +\tif (data->kind = max6680)\n" + "> -\tif (data->kind == max6680) {\n" + "> +\tif (data->kind == max6680)\n" "> \t\tconfig |= 0x18;\n" "> -\t}\n" "> \n" @@ -238,11 +238,6 @@ "\n" "\n" "-- \n" - "Jean Delvare\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Jean Delvare -727be42e0edcbf74f2e86e38ef7f7deb2fc483b0a3eb3533a288233225793ec8 +193dca1b69256297ac4b34e51edffc2bb90794ad2b8bbc6c319af62a8877dca5
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.