All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20190825132330.5015-3-changbin.du@gmail.com>

diff --git a/a/1.txt b/N1/1.txt
index 2e536ae..6482241 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -753,3 +753,9 @@ index 000000000000..064724047b19
 +}
 -- 
 2.20.1
+
+
+_______________________________________________
+linux-riscv mailing list
+linux-riscv@lists.infradead.org
+http://lists.infradead.org/mailman/listinfo/linux-riscv
diff --git a/a/content_digest b/N1/content_digest
index 1c2e797..9234d94 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -4,22 +4,22 @@
  "Date\0Sun, 25 Aug 2019 21:23:21 +0800\0"
  "To\0Steven Rostedt <rostedt@goodmis.org>"
  " Ingo Molnar <mingo@redhat.com>\0"
- "Cc\0Jonathan Corbet <corbet@lwn.net>"
-  Jessica Yu <jeyu@kernel.org>
-  Thomas Gleixner <tglx@linutronix.de>
-  x86@kernel.org
+ "Cc\0linux-arch@vger.kernel.org"
+  Jonathan Corbet <corbet@lwn.net>
+  linux-parisc@vger.kernel.org
   linux-doc@vger.kernel.org
+  linux-sh@vger.kernel.org
+  linux-s390@vger.kernel.org
+  x86@kernel.org
   linux-kernel@vger.kernel.org
-  linux-arm-kernel@lists.infradead.org
   linux-mips@vger.kernel.org
-  linux-parisc@vger.kernel.org
-  linuxppc-dev@lists.ozlabs.org
-  linux-riscv@lists.infradead.org
-  linux-s390@vger.kernel.org
-  linux-sh@vger.kernel.org
+  Jessica Yu <jeyu@kernel.org>
   sparclinux@vger.kernel.org
-  linux-arch@vger.kernel.org
   linux-kbuild@vger.kernel.org
+  Thomas Gleixner <tglx@linutronix.de>
+  linuxppc-dev@lists.ozlabs.org
+  linux-riscv@lists.infradead.org
+  linux-arm-kernel@lists.infradead.org
  " Changbin Du <changbin.du@gmail.com>\0"
  "\00:1\0"
  "b\0"
@@ -777,6 +777,12 @@
  "+\treturn 0;\n"
  "+}\n"
  "-- \n"
- 2.20.1
+ "2.20.1\n"
+ "\n"
+ "\n"
+ "_______________________________________________\n"
+ "linux-riscv mailing list\n"
+ "linux-riscv@lists.infradead.org\n"
+ http://lists.infradead.org/mailman/listinfo/linux-riscv
 
-a979f9b5747d3c6582bed50ef2dd997c4a11c006bb4f6c4b92828de2b68f9f02
+eb2a99f9151dfd1821fbaf2286376dbf9505368e313e5c8ba45623e57970a726

diff --git a/a/1.txt b/N2/1.txt
index 2e536ae..b0b2b73 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -331,7 +331,7 @@ index 000000000000..064724047b19
 +	if (!ehdr)
 +		errx(1, "cannot read ELF header");
 +
-+	is_64bit_obj = gelf_getclass(elf) == ELFCLASS64;
++	is_64bit_obj = gelf_getclass(elf) = ELFCLASS64;
 +
 +	switch (ehdr->e_machine) {
 +	case EM_386:
@@ -358,8 +358,8 @@ index 000000000000..064724047b19
 +		gelf_getsym(symdata, ndx, &sym);
 +
 +		/* TODO: add local symobl support. */
-+		if (GELF_ST_BIND(sym.st_info) == STB_GLOBAL &&
-+		    scn == sym.st_shndx && (offset >= sym.st_value) &&
++		if (GELF_ST_BIND(sym.st_info) = STB_GLOBAL &&
++		    scn = sym.st_shndx && (offset >= sym.st_value) &&
 +		    (offset < sym.st_value + sym.st_size)) {
 +			caller = elf_strptr(elf, symshdr->sh_link, sym.st_name);
 +			return caller;
@@ -390,7 +390,7 @@ index 000000000000..064724047b19
 +	while ((scn = elf_nextscn(elf, scn)) != NULL) {
 +		gelf_getshdr(scn, &shdr);
 +
-+		if (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) {
++		if (shdr.sh_type = SHT_REL || shdr.sh_type = SHT_RELA) {
 +			Elf_Data *data = elf_getdata(scn, NULL);
 +			Elf_Scn *symscn = elf_getscn(elf, shdr.sh_link);
 +			Elf_Data *symdata = elf_getdata(symscn, NULL);
@@ -404,7 +404,7 @@ index 000000000000..064724047b19
 +				GElf_Sym sym;
 +				char *symname;
 +
-+				if (shdr.sh_type == SHT_REL) {
++				if (shdr.sh_type = SHT_REL) {
 +					GElf_Rel rel_mem;
 +					GElf_Rel *rel = gelf_getrel(data, ndx,
 +								    &rel_mem);
@@ -455,16 +455,16 @@ index 000000000000..064724047b19
 +	ret = dwarf_peel_type(dwarf_formref_die(
 +			dwarf_attr_integrate(die, DW_AT_type, &attr), &type),
 +			&type);
-+	if (ret == 0) {
++	if (ret = 0) {
 +		Dwarf_Word val;
 +
 +		ret = dwarf_formudata(dwarf_attr(&type, DW_AT_encoding,
 +					&attr), &val);
-+		if (ret == 0)
-+			*is_signed = (val == DW_ATE_signed) ||
-+				     (val == DW_ATE_signed_char);
++		if (ret = 0)
++			*is_signed = (val = DW_ATE_signed) ||
++				     (val = DW_ATE_signed_char);
 +
-+		if (dwarf_aggregate_size(&type, &val) == 0)
++		if (dwarf_aggregate_size(&type, &val) = 0)
 +			*bytes = val;
 +	}
 +}
@@ -474,11 +474,11 @@ index 000000000000..064724047b19
 +	Dwarf_Die child;
 +	int count = 0;
 +
-+	if (dwarf_child(funcdie, &child) == 0) {
++	if (dwarf_child(funcdie, &child) = 0) {
 +		do {
-+			if (dwarf_tag(&child) == DW_TAG_formal_parameter)
++			if (dwarf_tag(&child) = DW_TAG_formal_parameter)
 +				count++;
-+		} while (dwarf_siblingof(&child, &child) == 0);
++		} while (dwarf_siblingof(&child, &child) = 0);
 +	}
 +
 +	return count;
@@ -573,9 +573,9 @@ index 000000000000..064724047b19
 +		proto->ret_type = 0;
 +
 +	/* process function parameters. */
-+	if (dwarf_child(funcdie, &child) == 0) {
++	if (dwarf_child(funcdie, &child) = 0) {
 +		do {
-+			if (dwarf_tag(&child) == DW_TAG_formal_parameter) {
++			if (dwarf_tag(&child) = DW_TAG_formal_parameter) {
 +				Dwarf_Attribute locattr;
 +				Dwarf_Op *loc;
 +				size_t nloc = 0;
@@ -608,7 +608,7 @@ index 000000000000..064724047b19
 +
 +				n++;
 +			};
-+		} while (dwarf_siblingof(&child, &child) == 0);
++		} while (dwarf_siblingof(&child, &child) = 0);
 +	}
 +
 +	proto->nr_param = n;
@@ -629,14 +629,14 @@ index 000000000000..064724047b19
 +	int ret;
 +
 +	dwfl = dwfl_begin(&offline_callbacks);
-+	if (dwfl == NULL)
++	if (dwfl = NULL)
 +		errx(1, "dwfl fail");
 +
-+	if (dwfl_report_offline(dwfl, "", elf_file, -1) == NULL)
++	if (dwfl_report_offline(dwfl, "", elf_file, -1) = NULL)
 +		errx(1, "dwfl report fail");
 +
 +	ret = dwfl_report_end(dwfl, NULL, NULL);
-+	assert(ret == 0);
++	assert(ret = 0);
 +
 +	while ((cu = dwfl_nextcu(dwfl, cu, &dwbias)) != NULL)
 +		dwarf_getfuncs(cu, &handle_function, NULL, 0);
@@ -684,8 +684,7 @@ index 000000000000..064724047b19
 +}
 +
 +/* Program documentation. */
-+static char doc[] =
-+	"funcprototype -- a program to generate mcount caller prototypes";
++static char doc[] +	"funcprototype -- a program to generate mcount caller prototypes";
 +
 +/* A description of the arguments we accept. */
 +static const char args_doc[] = "elf-file";
diff --git a/a/content_digest b/N2/content_digest
index 1c2e797..dc1326e 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,7 +1,7 @@
  "ref\020190825132330.5015-1-changbin.du@gmail.com\0"
  "From\0Changbin Du <changbin.du@gmail.com>\0"
  "Subject\0[PATCH 02/11] ftrace: introduce new building tool funcprototype\0"
- "Date\0Sun, 25 Aug 2019 21:23:21 +0800\0"
+ "Date\0Sun, 25 Aug 2019 13:23:21 +0000\0"
  "To\0Steven Rostedt <rostedt@goodmis.org>"
  " Ingo Molnar <mingo@redhat.com>\0"
  "Cc\0Jonathan Corbet <corbet@lwn.net>"
@@ -356,7 +356,7 @@
  "+\tif (!ehdr)\n"
  "+\t\terrx(1, \"cannot read ELF header\");\n"
  "+\n"
- "+\tis_64bit_obj = gelf_getclass(elf) == ELFCLASS64;\n"
+ "+\tis_64bit_obj = gelf_getclass(elf) = ELFCLASS64;\n"
  "+\n"
  "+\tswitch (ehdr->e_machine) {\n"
  "+\tcase EM_386:\n"
@@ -383,8 +383,8 @@
  "+\t\tgelf_getsym(symdata, ndx, &sym);\n"
  "+\n"
  "+\t\t/* TODO: add local symobl support. */\n"
- "+\t\tif (GELF_ST_BIND(sym.st_info) == STB_GLOBAL &&\n"
- "+\t\t    scn == sym.st_shndx && (offset >= sym.st_value) &&\n"
+ "+\t\tif (GELF_ST_BIND(sym.st_info) = STB_GLOBAL &&\n"
+ "+\t\t    scn = sym.st_shndx && (offset >= sym.st_value) &&\n"
  "+\t\t    (offset < sym.st_value + sym.st_size)) {\n"
  "+\t\t\tcaller = elf_strptr(elf, symshdr->sh_link, sym.st_name);\n"
  "+\t\t\treturn caller;\n"
@@ -415,7 +415,7 @@
  "+\twhile ((scn = elf_nextscn(elf, scn)) != NULL) {\n"
  "+\t\tgelf_getshdr(scn, &shdr);\n"
  "+\n"
- "+\t\tif (shdr.sh_type == SHT_REL || shdr.sh_type == SHT_RELA) {\n"
+ "+\t\tif (shdr.sh_type = SHT_REL || shdr.sh_type = SHT_RELA) {\n"
  "+\t\t\tElf_Data *data = elf_getdata(scn, NULL);\n"
  "+\t\t\tElf_Scn *symscn = elf_getscn(elf, shdr.sh_link);\n"
  "+\t\t\tElf_Data *symdata = elf_getdata(symscn, NULL);\n"
@@ -429,7 +429,7 @@
  "+\t\t\t\tGElf_Sym sym;\n"
  "+\t\t\t\tchar *symname;\n"
  "+\n"
- "+\t\t\t\tif (shdr.sh_type == SHT_REL) {\n"
+ "+\t\t\t\tif (shdr.sh_type = SHT_REL) {\n"
  "+\t\t\t\t\tGElf_Rel rel_mem;\n"
  "+\t\t\t\t\tGElf_Rel *rel = gelf_getrel(data, ndx,\n"
  "+\t\t\t\t\t\t\t\t    &rel_mem);\n"
@@ -480,16 +480,16 @@
  "+\tret = dwarf_peel_type(dwarf_formref_die(\n"
  "+\t\t\tdwarf_attr_integrate(die, DW_AT_type, &attr), &type),\n"
  "+\t\t\t&type);\n"
- "+\tif (ret == 0) {\n"
+ "+\tif (ret = 0) {\n"
  "+\t\tDwarf_Word val;\n"
  "+\n"
  "+\t\tret = dwarf_formudata(dwarf_attr(&type, DW_AT_encoding,\n"
  "+\t\t\t\t\t&attr), &val);\n"
- "+\t\tif (ret == 0)\n"
- "+\t\t\t*is_signed = (val == DW_ATE_signed) ||\n"
- "+\t\t\t\t     (val == DW_ATE_signed_char);\n"
+ "+\t\tif (ret = 0)\n"
+ "+\t\t\t*is_signed = (val = DW_ATE_signed) ||\n"
+ "+\t\t\t\t     (val = DW_ATE_signed_char);\n"
  "+\n"
- "+\t\tif (dwarf_aggregate_size(&type, &val) == 0)\n"
+ "+\t\tif (dwarf_aggregate_size(&type, &val) = 0)\n"
  "+\t\t\t*bytes = val;\n"
  "+\t}\n"
  "+}\n"
@@ -499,11 +499,11 @@
  "+\tDwarf_Die child;\n"
  "+\tint count = 0;\n"
  "+\n"
- "+\tif (dwarf_child(funcdie, &child) == 0) {\n"
+ "+\tif (dwarf_child(funcdie, &child) = 0) {\n"
  "+\t\tdo {\n"
- "+\t\t\tif (dwarf_tag(&child) == DW_TAG_formal_parameter)\n"
+ "+\t\t\tif (dwarf_tag(&child) = DW_TAG_formal_parameter)\n"
  "+\t\t\t\tcount++;\n"
- "+\t\t} while (dwarf_siblingof(&child, &child) == 0);\n"
+ "+\t\t} while (dwarf_siblingof(&child, &child) = 0);\n"
  "+\t}\n"
  "+\n"
  "+\treturn count;\n"
@@ -598,9 +598,9 @@
  "+\t\tproto->ret_type = 0;\n"
  "+\n"
  "+\t/* process function parameters. */\n"
- "+\tif (dwarf_child(funcdie, &child) == 0) {\n"
+ "+\tif (dwarf_child(funcdie, &child) = 0) {\n"
  "+\t\tdo {\n"
- "+\t\t\tif (dwarf_tag(&child) == DW_TAG_formal_parameter) {\n"
+ "+\t\t\tif (dwarf_tag(&child) = DW_TAG_formal_parameter) {\n"
  "+\t\t\t\tDwarf_Attribute locattr;\n"
  "+\t\t\t\tDwarf_Op *loc;\n"
  "+\t\t\t\tsize_t nloc = 0;\n"
@@ -633,7 +633,7 @@
  "+\n"
  "+\t\t\t\tn++;\n"
  "+\t\t\t};\n"
- "+\t\t} while (dwarf_siblingof(&child, &child) == 0);\n"
+ "+\t\t} while (dwarf_siblingof(&child, &child) = 0);\n"
  "+\t}\n"
  "+\n"
  "+\tproto->nr_param = n;\n"
@@ -654,14 +654,14 @@
  "+\tint ret;\n"
  "+\n"
  "+\tdwfl = dwfl_begin(&offline_callbacks);\n"
- "+\tif (dwfl == NULL)\n"
+ "+\tif (dwfl = NULL)\n"
  "+\t\terrx(1, \"dwfl fail\");\n"
  "+\n"
- "+\tif (dwfl_report_offline(dwfl, \"\", elf_file, -1) == NULL)\n"
+ "+\tif (dwfl_report_offline(dwfl, \"\", elf_file, -1) = NULL)\n"
  "+\t\terrx(1, \"dwfl report fail\");\n"
  "+\n"
  "+\tret = dwfl_report_end(dwfl, NULL, NULL);\n"
- "+\tassert(ret == 0);\n"
+ "+\tassert(ret = 0);\n"
  "+\n"
  "+\twhile ((cu = dwfl_nextcu(dwfl, cu, &dwbias)) != NULL)\n"
  "+\t\tdwarf_getfuncs(cu, &handle_function, NULL, 0);\n"
@@ -709,8 +709,7 @@
  "+}\n"
  "+\n"
  "+/* Program documentation. */\n"
- "+static char doc[] =\n"
- "+\t\"funcprototype -- a program to generate mcount caller prototypes\";\n"
+ "+static char doc[] +\t\"funcprototype -- a program to generate mcount caller prototypes\";\n"
  "+\n"
  "+/* A description of the arguments we accept. */\n"
  "+static const char args_doc[] = \"elf-file\";\n"
@@ -779,4 +778,4 @@
  "-- \n"
  2.20.1
 
-a979f9b5747d3c6582bed50ef2dd997c4a11c006bb4f6c4b92828de2b68f9f02
+767dc2b72b32495f52a3d496f800b98a4120f79fb536501226b522fbdd277091

diff --git a/a/content_digest b/N3/content_digest
index 1c2e797..6e62454 100644
--- a/a/content_digest
+++ b/N3/content_digest
@@ -4,22 +4,22 @@
  "Date\0Sun, 25 Aug 2019 21:23:21 +0800\0"
  "To\0Steven Rostedt <rostedt@goodmis.org>"
  " Ingo Molnar <mingo@redhat.com>\0"
- "Cc\0Jonathan Corbet <corbet@lwn.net>"
-  Jessica Yu <jeyu@kernel.org>
-  Thomas Gleixner <tglx@linutronix.de>
-  x86@kernel.org
+ "Cc\0linux-arch@vger.kernel.org"
+  Jonathan Corbet <corbet@lwn.net>
+  linux-parisc@vger.kernel.org
   linux-doc@vger.kernel.org
+  linux-sh@vger.kernel.org
+  linux-s390@vger.kernel.org
+  x86@kernel.org
   linux-kernel@vger.kernel.org
-  linux-arm-kernel@lists.infradead.org
   linux-mips@vger.kernel.org
-  linux-parisc@vger.kernel.org
-  linuxppc-dev@lists.ozlabs.org
-  linux-riscv@lists.infradead.org
-  linux-s390@vger.kernel.org
-  linux-sh@vger.kernel.org
+  Jessica Yu <jeyu@kernel.org>
   sparclinux@vger.kernel.org
-  linux-arch@vger.kernel.org
   linux-kbuild@vger.kernel.org
+  Thomas Gleixner <tglx@linutronix.de>
+  linuxppc-dev@lists.ozlabs.org
+  linux-riscv@lists.infradead.org
+  linux-arm-kernel@lists.infradead.org
  " Changbin Du <changbin.du@gmail.com>\0"
  "\00:1\0"
  "b\0"
@@ -779,4 +779,4 @@
  "-- \n"
  2.20.1
 
-a979f9b5747d3c6582bed50ef2dd997c4a11c006bb4f6c4b92828de2b68f9f02
+fce84c9fc73bbb253b33b9eca59fd5c5170fff06d0c525b827adb836779224fe

diff --git a/a/1.txt b/N4/1.txt
index 2e536ae..810b428 100644
--- a/a/1.txt
+++ b/N4/1.txt
@@ -753,3 +753,9 @@ index 000000000000..064724047b19
 +}
 -- 
 2.20.1
+
+
+_______________________________________________
+linux-arm-kernel mailing list
+linux-arm-kernel@lists.infradead.org
+http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/a/content_digest b/N4/content_digest
index 1c2e797..0523da0 100644
--- a/a/content_digest
+++ b/N4/content_digest
@@ -4,22 +4,22 @@
  "Date\0Sun, 25 Aug 2019 21:23:21 +0800\0"
  "To\0Steven Rostedt <rostedt@goodmis.org>"
  " Ingo Molnar <mingo@redhat.com>\0"
- "Cc\0Jonathan Corbet <corbet@lwn.net>"
-  Jessica Yu <jeyu@kernel.org>
-  Thomas Gleixner <tglx@linutronix.de>
-  x86@kernel.org
+ "Cc\0linux-arch@vger.kernel.org"
+  Jonathan Corbet <corbet@lwn.net>
+  linux-parisc@vger.kernel.org
   linux-doc@vger.kernel.org
+  linux-sh@vger.kernel.org
+  linux-s390@vger.kernel.org
+  x86@kernel.org
   linux-kernel@vger.kernel.org
-  linux-arm-kernel@lists.infradead.org
   linux-mips@vger.kernel.org
-  linux-parisc@vger.kernel.org
-  linuxppc-dev@lists.ozlabs.org
-  linux-riscv@lists.infradead.org
-  linux-s390@vger.kernel.org
-  linux-sh@vger.kernel.org
+  Jessica Yu <jeyu@kernel.org>
   sparclinux@vger.kernel.org
-  linux-arch@vger.kernel.org
   linux-kbuild@vger.kernel.org
+  Thomas Gleixner <tglx@linutronix.de>
+  linuxppc-dev@lists.ozlabs.org
+  linux-riscv@lists.infradead.org
+  linux-arm-kernel@lists.infradead.org
  " Changbin Du <changbin.du@gmail.com>\0"
  "\00:1\0"
  "b\0"
@@ -777,6 +777,12 @@
  "+\treturn 0;\n"
  "+}\n"
  "-- \n"
- 2.20.1
+ "2.20.1\n"
+ "\n"
+ "\n"
+ "_______________________________________________\n"
+ "linux-arm-kernel mailing list\n"
+ "linux-arm-kernel@lists.infradead.org\n"
+ http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
 
-a979f9b5747d3c6582bed50ef2dd997c4a11c006bb4f6c4b92828de2b68f9f02
+3aaa6ef624af4837cabe47ece6176c3446fddceb54fd71ded7080d0a2e913370

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.