Skip to content

Conversation

@modules-kpd-app
Copy link

Pull request for series with
subject: gendwarfksyms: use preferred form of sizeof for allocation
version: 1
url: https://patchwork.kernel.org/project/linux-modules/list/?series=977354

@modules-kpd-app
Copy link
Author

Upstream branch: f4e47f3
series: https://patchwork.kernel.org/project/linux-modules/list/?series=977354
version: 1

Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/project/linux-modules/list/?series=977354
error message:

Cmd('git') failed due to: exit code(128)
  cmdline: git am --3way
  stdout: 'Applying: gendwarfksyms: use preferred form of sizeof for allocation
Using index info to reconstruct a base tree...
M	scripts/gendwarfksyms/dwarf.c
M	scripts/gendwarfksyms/kabi.c
M	scripts/gendwarfksyms/types.c
Falling back to patching base and 3-way merge...
Auto-merging scripts/gendwarfksyms/types.c
CONFLICT (content): Merge conflict in scripts/gendwarfksyms/types.c
Auto-merging scripts/gendwarfksyms/kabi.c
Auto-merging scripts/gendwarfksyms/dwarf.c
Patch failed at 0001 gendwarfksyms: use preferred form of sizeof for allocation'
  stderr: 'error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"'

conflict:

diff --cc scripts/gendwarfksyms/types.c
index 6f37289104ff,9c3b053bf061..000000000000
--- a/scripts/gendwarfksyms/types.c
+++ b/scripts/gendwarfksyms/types.c
@@@ -118,8 -121,8 +118,13 @@@ static void type_map_add(const char *na
  {
  	struct type_expansion *e;
  
++<<<<<<< HEAD
 +	if (type_map_get(name, &e)) {
 +		e = xmalloc(sizeof(struct type_expansion));
++=======
+ 	if (__type_map_get(name, &e)) {
+ 		e = xmalloc(sizeof(*e));
++>>>>>>> gendwarfksyms: use preferred form of sizeof for allocation
  		type_expansion_init(e);
  		e->name = xstrdup(name);
  
@@@ -158,12 -200,22 +163,25 @@@ static void type_map_write(FILE *file
  	if (!file)
  		return;
  
++<<<<<<< HEAD
 +	hash_for_each_safe(type_map, e, tmp, hash) {
 +		checkp(fputs(e->name, file));
++=======
+ 	hash_for_each_safe(type_map, e, tmp, hash)
+ 		++count;
+ 	es = xmalloc(count * sizeof(*es));
+ 	hash_for_each_safe(type_map, e, tmp, hash)
+ 		es[i++] = e;
+ 
+ 	qsort(es, count, sizeof(*es), cmp_expansion_name);
+ 
+ 	for (i = 0; i < count; ++i) {
+ 		checkp(fputs(es[i]->name, file));
++>>>>>>> gendwarfksyms: use preferred form of sizeof for allocation
  		checkp(fputs(" ", file));
 -		type_list_write(&es[i]->expanded, file);
 +		type_list_write(&e->expanded, file);
  		checkp(fputs("\n", file));
  	}
 -
 -	free(es);
  }
  
  static void type_map_free(void)

@dkruces dkruces force-pushed the modules-next_base branch 2 times, most recently from b4d1c4e to 61dc34e Compare July 4, 2025 19:48
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch 2 times, most recently from 1df8185 to 9aab33d Compare July 8, 2025 19:00
@dkruces dkruces force-pushed the modules-next_base branch from 9aab33d to 99d099e Compare July 8, 2025 19:46
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch from 99d099e to 3aed49d Compare July 8, 2025 19:56
@modules-kpd-app modules-kpd-app bot force-pushed the modules-next_base branch 3 times, most recently from 0299e02 to cdc6b9e Compare October 22, 2025 10:27
@modules-kpd-app
Copy link
Author

Upstream branch: 5eb4b9a
series: https://patchwork.kernel.org/project/linux-modules/list/?series=977354
version: 1

@modules-kpd-app modules-kpd-app bot closed this Oct 22, 2025
@modules-kpd-app modules-kpd-app bot force-pushed the series/977354=>modules-next branch from ccc12cc to cdc6b9e Compare October 22, 2025 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant