diff for duplicates of <20160414093548.GG16549@mwanda> diff --git a/a/1.txt b/N1/1.txt index 1cc2703..6e0418f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -10,7 +10,7 @@ index 89a7847..bb34362 100644 int tmp; struct w1_master *md = dev_to_w1_master(dev); -- if (kstrtoint(buf, 0, &tmp) = -EINVAL || tmp < 1) +- if (kstrtoint(buf, 0, &tmp) == -EINVAL || tmp < 1) + if (kstrtoint(buf, 0, &tmp) || tmp < 1) return -EINVAL; diff --git a/a/content_digest b/N1/content_digest index fb60cc6..9fc8bdb 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] w1: silence an uninitialized variable warning\0" - "Date\0Thu, 14 Apr 2016 09:35:48 +0000\0" + "Date\0Thu, 14 Apr 2016 12:35:48 +0300\0" "To\0Evgeniy Polyakov <zbr@ioremap.net>\0" "Cc\0linux-kernel@vger.kernel.org" " kernel-janitors@vger.kernel.org\0" @@ -18,10 +18,10 @@ " \tint tmp;\n" " \tstruct w1_master *md = dev_to_w1_master(dev);\n" " \n" - "-\tif (kstrtoint(buf, 0, &tmp) = -EINVAL || tmp < 1)\n" + "-\tif (kstrtoint(buf, 0, &tmp) == -EINVAL || tmp < 1)\n" "+\tif (kstrtoint(buf, 0, &tmp) || tmp < 1)\n" " \t\treturn -EINVAL;\n" " \n" " \tmutex_lock(&md->mutex);" -f9df4ad594ef5b8f67ef4322f0574d9e0dac094b78b6078724e6b5b6db00b2b9 +74cfbf1d5cc8460cfcf93212df7d91766a0f2f602ea5e802b042790700d6c765
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.