Linux SPARSE checker discussions
 help / color / mirror / Atom feed
diff for duplicates of <20200519005728.84594-14-luc.vanoostenryck@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 446cbd2..a444573 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -68,3 +68,12 @@ index 9e7b74f98638..e23c5b64e8be 100644
  	} END_FOR_EACH_PTR(arg);
  
 -	token = compound_statement(token->next, stmt);
+-
++	token = statement_list(token->next, &stmt->stmts);
+ 	end_function(decl);
++
+ 	if (!(decl->ctype.modifiers & MOD_INLINE))
+ 		add_symbol(list, decl);
+ 	check_declaration(decl);
+-- 
+2.26.2
diff --git a/a/content_digest b/N1/content_digest
index a8978e2..e64cd4a 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -76,6 +76,15 @@
  " \t\tdeclare_argument(arg, base_type);\n"
  " \t} END_FOR_EACH_PTR(arg);\n"
  " \n"
- "-\ttoken = compound_statement(token->next, stmt);"
+ "-\ttoken = compound_statement(token->next, stmt);\n"
+ "-\n"
+ "+\ttoken = statement_list(token->next, &stmt->stmts);\n"
+ " \tend_function(decl);\n"
+ "+\n"
+ " \tif (!(decl->ctype.modifiers & MOD_INLINE))\n"
+ " \t\tadd_symbol(list, decl);\n"
+ " \tcheck_declaration(decl);\n"
+ "-- \n"
+ 2.26.2
 
-a2a211d18e26d0295052087583f0fc0b3e8f48ed8aeef9504072c394444f48ec
+a780a46b81754c172bcad5819516fce8b09615a05827dbcc6e33dccd03d07d0e

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox