diff for duplicates of <4D68D8CB.1050108@cam.ac.uk> diff --git a/a/1.txt b/N1/1.txt index 173afe1..ba9f0ed 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -452,10 +452,12 @@ Cool. My issue was I couldn't tell what s1 and s2 actually are. >>> + max_labels++; >>> + } >>> + if (info->func[page] & PMBUS_HAVE_FAN12) { ->>> + if (page = 0) { ->>> + max_sensors +>>> + ARRAY_SIZE(pmbus_fan_registers) * +>>> + if (page == 0) { +>>> + max_sensors += +>>> + ARRAY_SIZE(pmbus_fan_registers) * >>> + PMBUS_MAX_SENSORS_PER_FAN; ->>> + max_booleans +>>> + ARRAY_SIZE(pmbus_fan_registers) * +>>> + max_booleans += +>>> + ARRAY_SIZE(pmbus_fan_registers) * >>> + PMBUS_MAX_BOOLEANS_PER_FAN; >>> + } else { >>> + max_sensors += PMBUS_MAX_SENSORS_PER_FAN; @@ -463,10 +465,12 @@ Cool. My issue was I couldn't tell what s1 and s2 actually are. >>> + } >>> + } >>> + if (info->func[page] & PMBUS_HAVE_TEMP) { ->>> + if (page = 0) { ->>> + max_sensors +>>> + ARRAY_SIZE(pmbus_temp_registers) * +>>> + if (page == 0) { +>>> + max_sensors += +>>> + ARRAY_SIZE(pmbus_temp_registers) * >>> + PMBUS_MAX_SENSORS_PER_TEMP; ->>> + max_booleans +>>> + ARRAY_SIZE(pmbus_temp_registers) * +>>> + max_booleans += +>>> + ARRAY_SIZE(pmbus_temp_registers) * >>> + PMBUS_MAX_BOOLEANS_PER_TEMP; >>> + } else { >>> + max_sensors += PMBUS_MAX_SENSORS_PER_TEMP; @@ -534,8 +538,3 @@ Agreed. When I started looking at that I thought it would be easy to do as a fun but the code is way to invasive and you would need a lot of parameters to make that work... Fine as is then... - -_______________________________________________ -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 80cf862..a0e232d 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\04D680FAE.80600@cam.ac.uk\0" "ref\020110226024552.GA14032@ericsson.com\0" "From\0Jonathan Cameron <jic23@cam.ac.uk>\0" - "Subject\0Re: [lm-sensors] [PATCH v4 1/5] hwmon: PMBus device driver\0" + "Subject\0Re: [PATCH v4 1/5] hwmon: PMBus device driver\0" "Date\0Sat, 26 Feb 2011 10:41:15 +0000\0" "To\0Guenter Roeck <guenter.roeck@ericsson.com>\0" "Cc\0Jean Delvare <khali@linux-fr.org>" @@ -469,10 +469,12 @@ ">>> + max_labels++;\n" ">>> + }\n" ">>> + if (info->func[page] & PMBUS_HAVE_FAN12) {\n" - ">>> + if (page = 0) {\n" - ">>> + max_sensors +>>> + ARRAY_SIZE(pmbus_fan_registers) *\n" + ">>> + if (page == 0) {\n" + ">>> + max_sensors +=\n" + ">>> + ARRAY_SIZE(pmbus_fan_registers) *\n" ">>> + PMBUS_MAX_SENSORS_PER_FAN;\n" - ">>> + max_booleans +>>> + ARRAY_SIZE(pmbus_fan_registers) *\n" + ">>> + max_booleans +=\n" + ">>> + ARRAY_SIZE(pmbus_fan_registers) *\n" ">>> + PMBUS_MAX_BOOLEANS_PER_FAN;\n" ">>> + } else {\n" ">>> + max_sensors += PMBUS_MAX_SENSORS_PER_FAN;\n" @@ -480,10 +482,12 @@ ">>> + }\n" ">>> + }\n" ">>> + if (info->func[page] & PMBUS_HAVE_TEMP) {\n" - ">>> + if (page = 0) {\n" - ">>> + max_sensors +>>> + ARRAY_SIZE(pmbus_temp_registers) *\n" + ">>> + if (page == 0) {\n" + ">>> + max_sensors +=\n" + ">>> + ARRAY_SIZE(pmbus_temp_registers) *\n" ">>> + PMBUS_MAX_SENSORS_PER_TEMP;\n" - ">>> + max_booleans +>>> + ARRAY_SIZE(pmbus_temp_registers) *\n" + ">>> + max_booleans +=\n" + ">>> + ARRAY_SIZE(pmbus_temp_registers) *\n" ">>> + PMBUS_MAX_BOOLEANS_PER_TEMP;\n" ">>> + } else {\n" ">>> + max_sensors += PMBUS_MAX_SENSORS_PER_TEMP;\n" @@ -550,11 +554,6 @@ "Agreed. When I started looking at that I thought it would be easy to do as a function,\n" "but the code is way to invasive and you would need a lot of parameters to make that work...\n" "\n" - "Fine as is then...\n" - "\n" - "_______________________________________________\n" - "lm-sensors mailing list\n" - "lm-sensors@lm-sensors.org\n" - http://lists.lm-sensors.org/mailman/listinfo/lm-sensors + Fine as is then... -f7ca53185f456f73aa6e1d69fa371357e5be82b7325fa4a666466cc223c464b8 +497779798b3e3c3316550031d3457cf2c3fcbde1252f01445f4ea5b17303c1c2
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.