Skip to contentSkip to conversation

linux-next: build failure after merge of the driver-core tree

DISCUSSION Stephen Rothwell 3 participants 4 messages Sep 9, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the driver-core tree, today's linux-next build (x86_64 allmodconfig) failed like this:

lib/test_firmware.c: In function 'trigger_request_platform_store':
lib/test_firmware.c:517:35: error: 'efi_embedded_fw_list' undeclared (first use in this function); did you mean 'efi_embedded_fw_desc'?

  517 |  list_add(&efi_embedded_fw.list, &efi_embedded_fw_list);
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   efi_embedded_fw_desc
lib/test_firmware.c:517:35: note: each undeclared identifier is reported only once for each function it appears in
lib/test_firmware.c:518:34: error: 'efi_embedded_fw_checked' undeclared (first use in this function); did you mean 'saved_efi_embedded_fw_checked'?
  518 |  saved_efi_embedded_fw_checked = efi_embedded_fw_checked;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                                  saved_efi_embedded_fw_checked

Caused by commit

18efb2f9e897 ("test_firmware: Test platform fw loading on non-EFI systems")

I have reverted that commit for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 16 lines · Stephen Rothwell

Hi all,

After merging the driver-core tree, today's linux-next build (x86_64 allmodconfig) failed like this:

lib/test_firmware.c: In function 'trigger_request_platform_store':
lib/test_firmware.c:517:35: error: 'efi_embedded_fw_list' undeclared (first use in this function); did you mean 'efi_embedded_fw_desc'?

  517 |  list_add(&efi_embedded_fw.list, &efi_embedded_fw_list);
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   efi_embedded_fw_desc
lib/test_firmware.c:517:35: note: each undeclared identifier is reported only once for each function it appears in
lib/test_firmware.c:518:34: error: 'efi_embedded_fw_checked' undeclared (first use in this function); did you mean 'saved_efi_embedded_fw_checked'?
  518 |  saved_efi_embedded_fw_checked = efi_embedded_fw_checked;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                                  saved_efi_embedded_fw_checked
Quoted 3 lines

Caused by commit

18efb2f9e897 ("test_firmware: Test platform fw loading on non-EFI systems")

{sigh}

I'll go revert this, sorry about that.

Kees, can you fix up this whole series and resend it again? I'm dropping it from my trees now...

thanks,

greg k-h

#2 lore raw
Quoted 19 lines · Greg KH
Quoted 18 lines · Stephen Rothwell

Hi all,

After merging the driver-core tree, today's linux-next build (x86_64 allmodconfig) failed like this:

lib/test_firmware.c: In function 'trigger_request_platform_store':
lib/test_firmware.c:517:35: error: 'efi_embedded_fw_list' undeclared (first use in this function); did you mean 'efi_embedded_fw_desc'?

  517 |  list_add(&efi_embedded_fw.list, &efi_embedded_fw_list);
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   efi_embedded_fw_desc
lib/test_firmware.c:517:35: note: each undeclared identifier is reported only once for each function it appears in
lib/test_firmware.c:518:34: error: 'efi_embedded_fw_checked' undeclared (first use in this function); did you mean 'saved_efi_embedded_fw_checked'?
  518 |  saved_efi_embedded_fw_checked = efi_embedded_fw_checked;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                                  saved_efi_embedded_fw_checked

Caused by commit

Quoted 8 lines
Quoted 1 line

18efb2f9e897 ("test_firmware: Test platform fw loading on non-EFI systems")

{sigh}

I'll go revert this, sorry about that.

Kees, can you fix up this whole series and resend it again? I'm dropping it from my trees now...

Oh ew, I will check the configs. I wonder what went wrong with this... sorry for the noise!

Signature · 1 line
Kees Cook
#3 lore raw
In reply to Stephen Rothwell
Quoted 16 lines · Stephen Rothwell

Hi all,

After merging the driver-core tree, today's linux-next build (x86_64 allmodconfig) failed like this:

lib/test_firmware.c: In function 'trigger_request_platform_store':
lib/test_firmware.c:517:35: error: 'efi_embedded_fw_list' undeclared (first use in this function); did you mean 'efi_embedded_fw_desc'?

  517 |  list_add(&efi_embedded_fw.list, &efi_embedded_fw_list);
      |                                   ^~~~~~~~~~~~~~~~~~~~
      |                                   efi_embedded_fw_desc
lib/test_firmware.c:517:35: note: each undeclared identifier is reported only once for each function it appears in
lib/test_firmware.c:518:34: error: 'efi_embedded_fw_checked' undeclared (first use in this function); did you mean 'saved_efi_embedded_fw_checked'?
  518 |  saved_efi_embedded_fw_checked = efi_embedded_fw_checked;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~
      |                                  saved_efi_embedded_fw_checked
Quoted 5 lines

Caused by commit

18efb2f9e897 ("test_firmware: Test platform fw loading on non-EFI systems")

I have reverted that commit for today.

Now reverted in my tree too, thanks.

greg k-h