Skip to contentSkip to conversation

linux-next: build failure after merge of the hyperv tree

DISCUSSION [email protected] 2 participants 2 messages Apr 18, 2023

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Hi all,

After merging the hyperv tree, today's linux-next build (x86 allmodconfig) failed like this:

/tmp/next/build/drivers/hv/connection.c: In function 'vmbus_connect':
/tmp/next/build/drivers/hv/connection.c:228:53: error: implicit
declaration of function 'hv_alloc_hyperv_page'; did you mean 'hv_free_hyperv_page'? [-Werror=implicit-function-declaration]

  228 |         vmbus_connection.monitor_pages[0] = (void *)hv_alloc_hyperv_page();
      |                                                     ^~~~~~~~~~~~~~~~~~~~
      |                                                     hv_free_hyperv_page

/tmp/next/build/drivers/hv/connection.c:228:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
228 | vmbus_connection.monitor_pages[0] = (void *)hv_alloc_hyperv_page();
| ^
/tmp/next/build/drivers/hv/connection.c:229:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
229 | vmbus_connection.monitor_pages[1] = (void *)hv_alloc_hyperv_page();
| ^
cc1: all warnings being treated as errors

Caused by commit

4dbdcfe1c5db80edca ("Drivers: hv: move panic report code from vmbus to hv early init code")

I will use the hyperv tree from yesterday instead.

maintainer
#1 lore raw
Quoted 19 lines · On Tue, Apr 18, 2023 at 06:31:57PM +0100, [email protected] wrote:

Hi all,

After merging the hyperv tree, today's linux-next build (x86 allmodconfig) failed like this:

/tmp/next/build/drivers/hv/connection.c: In function 'vmbus_connect':
/tmp/next/build/drivers/hv/connection.c:228:53: error: implicit
declaration of function 'hv_alloc_hyperv_page'; did you mean 'hv_free_hyperv_page'? [-Werror=implicit-function-declaration]

  228 |         vmbus_connection.monitor_pages[0] = (void *)hv_alloc_hyperv_page();
      |                                                     ^~~~~~~~~~~~~~~~~~~~
      |                                                     hv_free_hyperv_page

/tmp/next/build/drivers/hv/connection.c:228:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
228 | vmbus_connection.monitor_pages[0] = (void *)hv_alloc_hyperv_page();
| ^
/tmp/next/build/drivers/hv/connection.c:229:45: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
229 | vmbus_connection.monitor_pages[1] = (void *)hv_alloc_hyperv_page();
| ^
cc1: all warnings being treated as errors

Quoted 5 lines

Caused by commit

4dbdcfe1c5db80edca ("Drivers: hv: move panic report code from vmbus to hv early init code")

I will use the hyperv tree from yesterday instead.

This has been fixed by removing the problematic commit.

Thanks,
Wei.