tree: git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git acpi_pm_domain_wip head: bc3f10d6d60972e92bdaf1696669aa6679f0fff1 commit: bb07d8dee211eb570c780cda9c1d47b66de278e0 [7/9] PM / ACPI: Enable the runtime PM centric approach for system sleep config: x86_64-randconfig-x012-201725 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout bb07d8dee211eb570c780cda9c1d47b66de278e0 # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): drivers//acpi/acpi_lpss.c: In function 'acpi_lpss_runtime_suspend': >> drivers//acpi/acpi_lpss.c:861:3: error: expected ')' before 'return' return lpss_suspend_late(dev); ^~~~~~ >> drivers//acpi/acpi_lpss.c:877:1: error: expected expression before '}' token } ^ drivers//acpi/acpi_lpss.c:853:28: warning: unused variable 'pdata' [-Wunused-variable] struct lpss_private_data *pdata = acpi_driver_data(ACPI_COMPANION(dev)); ^~~~~ >> drivers//acpi/acpi_lpss.c:877:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ At top level: drivers//acpi/acpi_lpss.c:784:13: warning: 'lpss_iosf_enter_d3_state' defined but not used [-Wunused-function] static void lpss_iosf_enter_d3_state(void) ^~~~~~~~~~~~~~~~~~~~~~~~ vim +861 drivers//acpi/acpi_lpss.c 855 856 ret = pm_generic_runtime_suspend(dev); 857 if (ret) 858 return ret; 859 860 if (!pm_runtime_enabled(dev) > 861 return lpss_suspend_late(dev); 862 863 if (pdata->dev_desc->flags & LPSS_SAVE_CTX) 864 acpi_lpss_save_ctx(dev, pdata); 865 866 ret = acpi_dev_runtime_suspend(dev); 867 868 /* 869 * This call must be last in the sequence, otherwise PMC will return 870 * wrong status for devices being about to be powered off. See 871 * lpss_iosf_enter_d3_state() for further information. 872 */ 873 if (lpss_quirks & LPSS_QUIRK_ALWAYS_POWER_ON && iosf_mbi_available()) 874 lpss_iosf_enter_d3_state(); 875 876 return ret; > 877 } 878 879 static int acpi_lpss_runtime_resume(struct device *dev) 880 { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip