Skip to contentSkip to conversation

linux-next: build failure after merge of the drivers-x86 tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Oct 15, 2019 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/platform/x86/huawei-wmi.c: In function 'huawei_wmi_exit':
drivers/platform/x86/huawei-wmi.c:890:41: error: 'struct huawei_wmi' has no member named 'pdev'; did you mean 'idev'?

  890 |  platform_device_unregister(huawei_wmi->pdev);
      |                                         ^~~~
      |                                         idev

Caused by commit

eda34f06b2e0 ("platform/x86: huawei-wmi: No need to keep pointer to platform device")

interacting with commit

7532afb35012 ("platform/x86: huawei-wmi: Move to platform driver")

I have used the drivers-x86 tree from next-20191014 for today.

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

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

drivers/platform/x86/huawei-wmi.c: In function 'huawei_wmi_exit':
drivers/platform/x86/huawei-wmi.c:890:41: error: 'struct huawei_wmi' has no member named 'pdev'; did you mean 'idev'?

  890 |  platform_device_unregister(huawei_wmi->pdev);
      |                                         ^~~~
      |                                         idev
Quoted 7 lines

Caused by commit

eda34f06b2e0 ("platform/x86: huawei-wmi: No need to keep pointer to platform device")

interacting with commit

7532afb35012 ("platform/x86: huawei-wmi: Move to platform driver")

Oops, thank you for pointing out, should be fixed.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw

Hi Andy,

Quoted 2 lines · On Tue, 15 Oct 2019 11:04:29 +0300 Andy Shevchenko <[email protected]>…

Oops, thank you for pointing out, should be fixed.

Excellent, thanks.

Signature · 2 lines
Cheers,
Stephen Rothwell