diff for duplicates of <20180905214823.GA4916@roeck-us.net> diff --git a/a/1.txt b/N1/1.txt index 68d975c..da02076 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,7 +19,7 @@ Guenter > reg = nct6775_read_value(data, data->REG_WEIGHT_TEMP_SEL[i]); > data->pwm_weight_temp_sel[i] = reg & 0x1f; > /* If weight is disabled, report weight source as 0 */ -> - if (j = 1 && !(reg & 0x80)) +> - if (j == 1 && !(reg & 0x80)) > + if (!(reg & 0x80)) > data->pwm_weight_temp_sel[i] = 0; > diff --git a/a/content_digest b/N1/content_digest index 86a9910..072701c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\020180905074627.putclq3777lmxvoe@kili.mountain\0" "From\0Guenter Roeck <linux@roeck-us.net>\0" "Subject\0Re: [PATCH 1/2] hwmon: (nct6775) Set weight source to zero correctly\0" - "Date\0Wed, 05 Sep 2018 21:48:23 +0000\0" + "Date\0Wed, 5 Sep 2018 14:48:23 -0700\0" "To\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Cc\0Jean Delvare <jdelvare@suse.com>" linux-hwmon@vger.kernel.org @@ -30,10 +30,10 @@ "> \t\treg = nct6775_read_value(data, data->REG_WEIGHT_TEMP_SEL[i]);\n" "> \t\tdata->pwm_weight_temp_sel[i] = reg & 0x1f;\n" "> \t\t/* If weight is disabled, report weight source as 0 */\n" - "> -\t\tif (j = 1 && !(reg & 0x80))\n" + "> -\t\tif (j == 1 && !(reg & 0x80))\n" "> +\t\tif (!(reg & 0x80))\n" "> \t\t\tdata->pwm_weight_temp_sel[i] = 0;\n" "> \n" "> \t\t/* Weight temp data */" -d52709a1387b5af863ca26031192b4f936cc9cea760aa939dd45b37a464fad16 +09ecb0958d421c2eebac68b4f8114e54fe21b9d11d1a157251b4381069336cbe
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.