diff for duplicates of <20100722162157.GA21512@linux-os.sc.intel.com> diff --git a/a/1.txt b/N1/1.txt index c2e7242..5fbd9d8 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -183,7 +183,7 @@ index 0000000..fcfe2df + struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); + struct pkgtemp_data *data = dev_get_drvdata(dev); + -+ if (attr->index = SHOW_NAME) ++ if (attr->index == SHOW_NAME) + ret = sprintf(buf, "%s\n", data->name); + else /* show label */ + ret = sprintf(buf, "Physical package id %d\n", @@ -206,9 +206,9 @@ index 0000000..fcfe2df + struct pkgtemp_data *data = pkgtemp_update_device(dev); + int err = 0; + -+ if (attr->index = SHOW_TEMP) ++ if (attr->index == SHOW_TEMP) + err = data->valid ? sprintf(buf, "%d\n", data->temp) : -EAGAIN; -+ else if (attr->index = SHOW_TJMAX) ++ else if (attr->index == SHOW_TJMAX) + err = sprintf(buf, "%d\n", data->tjmax); + else + err = sprintf(buf, "%d\n", data->ttarget); @@ -401,7 +401,7 @@ index 0000000..fcfe2df +#ifdef CONFIG_SMP + /* Only keep the first entry in each package */ + list_for_each_entry(pdev_entry, &pdev_list, list) { -+ if (c->phys_proc_id = pdev_entry->phys_proc_id) { ++ if (c->phys_proc_id == pdev_entry->phys_proc_id) { + err = 0; /* Not an error */ + goto exit; + } @@ -565,8 +565,3 @@ index 0000000..fcfe2df + +module_init(pkgtemp_init) +module_exit(pkgtemp_exit) - -_______________________________________________ -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 f7ee959..f743c9a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\094E56C79ECC49A4B87113985F1FEBA8D03F8AE2A4B@bgsmsx502.gar.corp.intel.com\0" "ref\04C485DF1.5050407@linux.intel.com\0" "From\0Fenghua Yu <fenghua.yu@intel.com>\0" - "Subject\0[lm-sensors] [PATCH 2/5] Package Level Thermal Control and Power\0" - "Date\0Thu, 22 Jul 2010 16:21:57 +0000\0" + "Subject\0[PATCH 2/5] Package Level Thermal Control and Power Limit Notification: pkgtemp hwmon driver\0" + "Date\0Thu, 22 Jul 2010 09:21:57 -0700\0" "To\0Ingo Molnar <mingo@redhat.com>" Thomas Gleixner <tglx@linutronix.de> H. Peter Anvin <hpa@linux.intel.com> @@ -201,7 +201,7 @@ "+\tstruct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);\n" "+\tstruct pkgtemp_data *data = dev_get_drvdata(dev);\n" "+\n" - "+\tif (attr->index = SHOW_NAME)\n" + "+\tif (attr->index == SHOW_NAME)\n" "+\t\tret = sprintf(buf, \"%s\\n\", data->name);\n" "+\telse\t/* show label */\n" "+\t\tret = sprintf(buf, \"Physical package id %d\\n\",\n" @@ -224,9 +224,9 @@ "+\tstruct pkgtemp_data *data = pkgtemp_update_device(dev);\n" "+\tint err = 0;\n" "+\n" - "+\tif (attr->index = SHOW_TEMP)\n" + "+\tif (attr->index == SHOW_TEMP)\n" "+\t\terr = data->valid ? sprintf(buf, \"%d\\n\", data->temp) : -EAGAIN;\n" - "+\telse if (attr->index = SHOW_TJMAX)\n" + "+\telse if (attr->index == SHOW_TJMAX)\n" "+\t\terr = sprintf(buf, \"%d\\n\", data->tjmax);\n" "+\telse\n" "+\t\terr = sprintf(buf, \"%d\\n\", data->ttarget);\n" @@ -419,7 +419,7 @@ "+#ifdef CONFIG_SMP\n" "+\t/* Only keep the first entry in each package */\n" "+\tlist_for_each_entry(pdev_entry, &pdev_list, list) {\n" - "+\t\tif (c->phys_proc_id = pdev_entry->phys_proc_id) {\n" + "+\t\tif (c->phys_proc_id == pdev_entry->phys_proc_id) {\n" "+\t\t\terr = 0; /* Not an error */\n" "+\t\t\tgoto exit;\n" "+\t\t}\n" @@ -582,11 +582,6 @@ "+MODULE_LICENSE(\"GPL\");\n" "+\n" "+module_init(pkgtemp_init)\n" - "+module_exit(pkgtemp_exit)\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + +module_exit(pkgtemp_exit) -d780d667dc1b0071cbab22ac66efe0e3df8c8fccec88469fd9787a3acab9b9ec +6fa023f1fe1eedc0d7eb411397645ab9b7127a1e769fbc54d9e4b16e9337d43d
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.