diff for duplicates of <20140211160826.GD9406@elgon.mountain> diff --git a/a/1.txt b/N1/1.txt index 25a14a1..4587866 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -19,8 +19,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 c0286bc..7c9841a 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: small type cleanup in sysfs\0" - "Date\0Tue, 11 Feb 2014 16:08:26 +0000\0" + "Date\0Tue, 11 Feb 2014 19:08:26 +0300\0" "To\0Evgeniy Polyakov <zbr@ioremap.net>" " David Fries <David@fries.net>\0" "Cc\0linux-kernel@vger.kernel.org" @@ -28,10 +28,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);" -2820d167d6070052efc4ec0227347b45be6d7c7e24b200c71c2a691ca543c723 +5c48cebccda4def7e6bd306aca2f5ddcbdabccec1fa819c4e95200a9bf6e310a
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.