Skip to contentSkip to conversation

Upcoming merge conflict between akpm-current/current and s390 trees

PATCH Vasily Gorbik 2 participants 2 messages Oct 26, 2021

Subsystems (2)
lore
Share & tools
lore

Vasily Gorbik

author maintainer
#0 lore raw

Hi Stephen,

updating s390 tree for linux-next today I hit a merge conflict with akpm-current/current. Please find conflict resolution below.

Thank you

arch/s390/kernel/setup.c +0 -0
diff --cc arch/s390/kernel/setup.c
index 27454962c119,e738a45057ac..40405f2304f1
@@@ -880,14 -878,12 +879,12 @@@ static void __init setup_randomness(voi
  {
  	struct sysinfo_3_2_2 *vmms;
  
- 	vmms = (struct sysinfo_3_2_2 *) memblock_phys_alloc(PAGE_SIZE,
- 							    PAGE_SIZE);
+ 	vmms = memblock_alloc(PAGE_SIZE, PAGE_SIZE);
  	if (!vmms)
  		panic("Failed to allocate memory for sysinfo structure\n");
- 
  	if (stsi(vmms, 3, 2, 2) == 0 && vmms->count)
  		add_device_randomness(&vmms->vm, sizeof(vmms->vm[0]) * vmms->count);
- 	memblock_phys_free((unsigned long)vmms, PAGE_SIZE);
 -	memblock_free_ptr(vmms, PAGE_SIZE);
++	memblock_free(vmms, PAGE_SIZE);
  }
  
  /*
#1 lore raw

Hi Vasily,

Quoted 3 lines · On Tue, 26 Oct 2021 16:05:55 +0200 Vasily Gorbik <[email protected]> wrote:

updating s390 tree for linux-next today I hit a merge conflict with akpm-current/current. Please find conflict resolution below.

Thanks for the heads up and merge resolution.

Signature · 2 lines
Cheers,
Stephen Rothwell