All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20170121045557.GE15269@mwanda>

diff --git a/a/1.txt b/N1/1.txt
index 4eb25fb..c1d7f8d 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -36,7 +36,7 @@ index 978729f..372faef 100644
 +		return NULL;
  
 -		trig->name = kvasprintf(GFP_KERNEL, fmt, vargs);
--		if (trig->name = NULL) {
+-		if (trig->name == NULL) {
 -			irq_free_descs(trig->subirq_base,
 -				       CONFIG_IIO_CONSUMERS_PER_TRIGGER);
 -			kfree(trig);
@@ -67,7 +67,7 @@ index 978729f..372faef 100644
 +		goto free_trig;
 +
 +	trig->name = kvasprintf(GFP_KERNEL, fmt, vargs);
-+	if (trig->name = NULL)
++	if (trig->name == NULL)
 +		goto free_descs;
 +
 +	trig->subirq_chip.name = trig->name;
diff --git a/a/content_digest b/N1/content_digest
index c11eebd..d5d3d2b 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Dan Carpenter <dan.carpenter@oracle.com>\0"
  "Subject\0[patch] iio: trigger: clean up viio_trigger_alloc()\0"
- "Date\0Sat, 21 Jan 2017 04:55:58 +0000\0"
+ "Date\0Sat, 21 Jan 2017 07:55:58 +0300\0"
  "To\0Jonathan Cameron <jic23@kernel.org>\0"
  "Cc\0Hartmut Knaack <knaack.h@gmx.de>"
   Lars-Peter Clausen <lars@metafoo.de>
@@ -47,7 +47,7 @@
  "+\t\treturn NULL;\n"
  " \n"
  "-\t\ttrig->name = kvasprintf(GFP_KERNEL, fmt, vargs);\n"
- "-\t\tif (trig->name = NULL) {\n"
+ "-\t\tif (trig->name == NULL) {\n"
  "-\t\t\tirq_free_descs(trig->subirq_base,\n"
  "-\t\t\t\t       CONFIG_IIO_CONSUMERS_PER_TRIGGER);\n"
  "-\t\t\tkfree(trig);\n"
@@ -78,7 +78,7 @@
  "+\t\tgoto free_trig;\n"
  "+\n"
  "+\ttrig->name = kvasprintf(GFP_KERNEL, fmt, vargs);\n"
- "+\tif (trig->name = NULL)\n"
+ "+\tif (trig->name == NULL)\n"
  "+\t\tgoto free_descs;\n"
  "+\n"
  "+\ttrig->subirq_chip.name = trig->name;\n"
@@ -103,4 +103,4 @@
  " \n"
   struct iio_trigger *iio_trigger_alloc(const char *fmt, ...)
 
-496655cf4859ad85017bde1fa909fa76489d8bb602400228fcfefb70a12ec43a
+7a3e793669041993183325402362197d90d40d67a95eb361a705bb1e42475a0c

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.