diff for duplicates of <536D089C.9040307@linux.intel.com> diff --git a/a/1.txt b/N1/1.txt index c6cde62..78734c0 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,8 +19,8 @@ On 05/09/2014 04:56 AM, Dan Carpenter wrote: > > - for (i = 0; ARRAY_SIZE(unit_conversion); ++i) { > + for (i = 0; i < ARRAY_SIZE(unit_conversion); ++i) { -> if (unit_conversion[i].usage_id = usage_id && -> unit_conversion[i].unit = attr_info->units) { +> if (unit_conversion[i].usage_id == usage_id && +> unit_conversion[i].unit == attr_info->units) { > exp = hid_sensor_convert_exponent( > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in diff --git a/a/content_digest b/N1/content_digest index 2c0394c..a069def 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020140509115617.GC32027@mwanda\0" "From\0Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>\0" "Subject\0Re: [patch] iio: hid-sensors: typo leads to potential forever loop\0" - "Date\0Fri, 09 May 2014 16:55:56 +0000\0" + "Date\0Fri, 09 May 2014 09:55:56 -0700\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>" " Jonathan Cameron <jic23@kernel.org>\0" "Cc\0linux-iio@vger.kernel.org" @@ -29,8 +29,8 @@ "> \n" "> -\tfor (i = 0; ARRAY_SIZE(unit_conversion); ++i) {\n" "> +\tfor (i = 0; i < ARRAY_SIZE(unit_conversion); ++i) {\n" - "> \t\tif (unit_conversion[i].usage_id = usage_id &&\n" - "> \t\t\tunit_conversion[i].unit = attr_info->units) {\n" + "> \t\tif (unit_conversion[i].usage_id == usage_id &&\n" + "> \t\t\tunit_conversion[i].unit == attr_info->units) {\n" "> \t\t\texp = hid_sensor_convert_exponent(\n" "> --\n" "> To unsubscribe from this list: send the line \"unsubscribe linux-iio\" in\n" @@ -38,4 +38,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > -9d144794d296a54f0666df4d4b6067ec05cd9d9ec3ebd6e6d3404465baad9a60 +8b4d8f84072b81ab6938840cc6560897be97cf42123b4806a4f47a630fd50acc
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.