diff for duplicates of <547B739D.7040405@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 9ea34ed..3324bc4 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -100,7 +100,7 @@ This will accept a value of 0xffffffff which is then converted into -1 since data->rshunt is defined as long. > + -> + if (val = 0) +> + if (val == 0) > + return -EINVAL; > + > + mutex_lock(&data->update_lock); @@ -184,9 +184,3 @@ This will have to be S_IRUGO | S_IWUSR. We don't permit group writes. > return 0; > } > - - -_______________________________________________ -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 9b56bfb..36a061e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\01417082350-23470-1-git-send-email-bgolaszewski@baylibre.com\0" "ref\01417082350-23470-3-git-send-email-bgolaszewski@baylibre.com\0" "From\0Guenter Roeck <linux@roeck-us.net>\0" - "Subject\0Re: [lm-sensors] [PATCH v2 2/5] hwmon: ina2xx: make shunt resistance configurable at run-time\0" - "Date\0Sun, 30 Nov 2014 19:44:29 +0000\0" + "Subject\0Re: [PATCH v2 2/5] hwmon: ina2xx: make shunt resistance configurable at run-time\0" + "Date\0Sun, 30 Nov 2014 11:44:29 -0800\0" "To\0Bartosz Golaszewski <bgolaszewski@baylibre.com>\0" "Cc\0LKML <linux-kernel@vger.kernel.org>" Benoit Cousson <bcousson@baylibre.com> @@ -113,7 +113,7 @@ "since data->rshunt is defined as long.\n" "\n" "> +\n" - "> +\tif (val = 0)\n" + "> +\tif (val == 0)\n" "> +\t\treturn -EINVAL;\n" "> +\n" "> +\tmutex_lock(&data->update_lock);\n" @@ -196,12 +196,6 @@ ">\n" "> \treturn 0;\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 + > -9ca9ac1a45e4fa4f8afebb2f51bc3b2807964f1be3f8e31c37c8a86d32a04b4a +5248c8d75a851c23ad5cde49bc1c548faccc80b660a109f9e1aae061d7475dd4
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.