All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20140211164513.GF5530@spacedout.fries.net>

diff --git a/a/1.txt b/N1/1.txt
index e72d3eb..648a23a 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -40,8 +40,8 @@ On Tue, Feb 11, 2014 at 07:08:26PM +0300, Dan Carpenter wrote:
 > +	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 690a0b6..e9ab1e1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020140211160826.GD9406@elgon.mountain\0"
  "From\0David Fries <David@fries.net>\0"
  "Subject\0Re: [patch] w1: small type cleanup in sysfs\0"
- "Date\0Tue, 11 Feb 2014 16:45:13 +0000\0"
+ "Date\0Tue, 11 Feb 2014 10:45:13 -0600\0"
  "To\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Cc\0Evgeniy Polyakov <zbr@ioremap.net>"
   linux-kernel@vger.kernel.org
@@ -50,8 +50,8 @@
  "> +\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);\n"
@@ -60,4 +60,4 @@
  "David Fries <david@fries.net>    PGP pub CB1EE8F0\n"
  http://fries.net/~david/
 
-32c9624d5f1d8ffdc97427008f850d52b03abfb653dbec0a236eadb38cb48c67
+c203de0f4011173d37346aaead347ec2d0b430407df8573a0de0e2ee6deef37d

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.