diff for duplicates of <20140211210755.GA25579@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index f951bd0..6a2eb25 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,8 +22,8 @@ index 9eb816b2ea5e..b96f61b15dc6 100644 + int tmp; struct w1_master *md = dev_to_w1_master(dev); -- if (kstrtol(buf, 0, &tmp) = -EINVAL || tmp < 1) -+ if (kstrtoint(buf, 0, &tmp) = -EINVAL || tmp < 1) +- if (kstrtol(buf, 0, &tmp) == -EINVAL || tmp < 1) ++ if (kstrtoint(buf, 0, &tmp) == -EINVAL || tmp < 1) return -EINVAL; mutex_lock(&md->mutex); diff --git a/a/content_digest b/N1/content_digest index 307286a..b58f53e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020140211164513.GF5530@spacedout.fries.net\0" "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch v2] w1: small type cleanup in sysfs\0" - "Date\0Tue, 11 Feb 2014 21:07:55 +0000\0" + "Date\0Wed, 12 Feb 2014 00:07:55 +0300\0" "To\0Evgeniy Polyakov <zbr@ioremap.net>" " David Fries <David@fries.net>\0" "Cc\0linux-kernel@vger.kernel.org" @@ -32,10 +32,10 @@ "+\tint tmp;\n" " \tstruct w1_master *md = dev_to_w1_master(dev);\n" " \n" - "-\tif (kstrtol(buf, 0, &tmp) = -EINVAL || tmp < 1)\n" - "+\tif (kstrtoint(buf, 0, &tmp) = -EINVAL || tmp < 1)\n" + "-\tif (kstrtol(buf, 0, &tmp) == -EINVAL || tmp < 1)\n" + "+\tif (kstrtoint(buf, 0, &tmp) == -EINVAL || tmp < 1)\n" " \t\treturn -EINVAL;\n" " \n" " \tmutex_lock(&md->mutex);" -f9fa9fd2a5971e079b9c40b46db0ee151c37f1b902a3ef4bf0102bb5e85a8060 +7dab2a1442f3e8f96abbed0f4e6d04b787a2f9df6c69ab6ef7fa80c6549dacfd
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.