All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <502fe4ad-d627-2f8d-e1e6-a45bcd8e0ce2@users.sourceforge.net>

diff --git a/a/1.txt b/N1/1.txt
index f7437c2..a4b5551 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -54,7 +54,7 @@ index 8e2be30..ddfc5e4 100644
  	}
  	kfree(db_info->areas);
 @@ -396,11 +392,9 @@ debug_info_copy(debug_info_t* in, int mode)
- 	if (mode = NO_AREAS)
+ 	if (mode == NO_AREAS)
                  goto out;
  
 -        for(i = 0; i < in->nr_areas; i++){
@@ -84,7 +84,7 @@ index 8e2be30..ddfc5e4 100644
  
 -	while(*string) {
 +	while (*string)
- 		if(*string++='%')
+ 		if(*string++=='%')
  			numargs++;
 -	}
  	return(numargs);
@@ -99,7 +99,7 @@ index 8e2be30..ddfc5e4 100644
  		if (!id->views[i])
  			break;
 -	}
- 	if (i = DEBUG_MAX_VIEWS) {
+ 	if (i == DEBUG_MAX_VIEWS) {
  		pr_err("Registering view %s/%s would exceed the maximum "
  		       "number of views %i\n", id->name, view->name, i);
 @@ -1148,10 +1139,9 @@ debug_unregister_view(debug_info_t * id, struct debug_view *view)
@@ -108,10 +108,10 @@ index 8e2be30..ddfc5e4 100644
  	spin_lock_irqsave(&id->lock, flags);
 -	for (i = 0; i < DEBUG_MAX_VIEWS; i++) {
 +	for (i = 0; i < DEBUG_MAX_VIEWS; i++)
- 		if (id->views[i] = view)
+ 		if (id->views[i] == view)
  			break;
 -	}
- 	if (i = DEBUG_MAX_VIEWS)
+ 	if (i == DEBUG_MAX_VIEWS)
  		rc = -1;
  	else {
 @@ -1193,9 +1183,8 @@ debug_get_uint(char *buf)
@@ -129,8 +129,8 @@ index 8e2be30..ddfc5e4 100644
  {
  	int rc = 0;
  
--	if(id->level = DEBUG_OFF_LEVEL) {
-+	if (id->level = DEBUG_OFF_LEVEL)
+-	if(id->level == DEBUG_OFF_LEVEL) {
++	if (id->level == DEBUG_OFF_LEVEL)
  		rc = sprintf(out_buf,"-\n");
 -	}
 -	else {
diff --git a/a/content_digest b/N1/content_digest
index f0edc1b..f33cfae 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\0e4359dc9-9e20-e33b-9743-9ebade853268@users.sourceforge.net\0"
  "From\0SF Markus Elfring <elfring@users.sourceforge.net>\0"
  "Subject\0[PATCH 02/17] s390/debug: Delete unnecessary braces\0"
- "Date\0Sat, 03 Sep 2016 12:13:03 +0000\0"
+ "Date\0Sat, 3 Sep 2016 14:13:03 +0200\0"
  "To\0linux-s390@vger.kernel.org"
   David Hildenbrand <dahi@linux.vnet.ibm.com>
   Heiko Carstens <heiko.carstens@de.ibm.com>
@@ -70,7 +70,7 @@
  " \t}\n"
  " \tkfree(db_info->areas);\n"
  "@@ -396,11 +392,9 @@ debug_info_copy(debug_info_t* in, int mode)\n"
- " \tif (mode = NO_AREAS)\n"
+ " \tif (mode == NO_AREAS)\n"
  "                 goto out;\n"
  " \n"
  "-        for(i = 0; i < in->nr_areas; i++){\n"
@@ -100,7 +100,7 @@
  " \n"
  "-\twhile(*string) {\n"
  "+\twhile (*string)\n"
- " \t\tif(*string++='%')\n"
+ " \t\tif(*string++=='%')\n"
  " \t\t\tnumargs++;\n"
  "-\t}\n"
  " \treturn(numargs);\n"
@@ -115,7 +115,7 @@
  " \t\tif (!id->views[i])\n"
  " \t\t\tbreak;\n"
  "-\t}\n"
- " \tif (i = DEBUG_MAX_VIEWS) {\n"
+ " \tif (i == DEBUG_MAX_VIEWS) {\n"
  " \t\tpr_err(\"Registering view %s/%s would exceed the maximum \"\n"
  " \t\t       \"number of views %i\\n\", id->name, view->name, i);\n"
  "@@ -1148,10 +1139,9 @@ debug_unregister_view(debug_info_t * id, struct debug_view *view)\n"
@@ -124,10 +124,10 @@
  " \tspin_lock_irqsave(&id->lock, flags);\n"
  "-\tfor (i = 0; i < DEBUG_MAX_VIEWS; i++) {\n"
  "+\tfor (i = 0; i < DEBUG_MAX_VIEWS; i++)\n"
- " \t\tif (id->views[i] = view)\n"
+ " \t\tif (id->views[i] == view)\n"
  " \t\t\tbreak;\n"
  "-\t}\n"
- " \tif (i = DEBUG_MAX_VIEWS)\n"
+ " \tif (i == DEBUG_MAX_VIEWS)\n"
  " \t\trc = -1;\n"
  " \telse {\n"
  "@@ -1193,9 +1183,8 @@ debug_get_uint(char *buf)\n"
@@ -145,8 +145,8 @@
  " {\n"
  " \tint rc = 0;\n"
  " \n"
- "-\tif(id->level = DEBUG_OFF_LEVEL) {\n"
- "+\tif (id->level = DEBUG_OFF_LEVEL)\n"
+ "-\tif(id->level == DEBUG_OFF_LEVEL) {\n"
+ "+\tif (id->level == DEBUG_OFF_LEVEL)\n"
  " \t\trc = sprintf(out_buf,\"-\\n\");\n"
  "-\t}\n"
  "-\telse {\n"
@@ -190,4 +190,4 @@
  "-- \n"
  2.9.3
 
-7a49900285dc9f75fec5ca5e88db419bc25b5bed15fd374bef2bc257be4ee63d
+5dad60be3612133d70c7fd1f8f615e884173c5c620b9d0e19e18fdfdf92e0942

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.