Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3088414iog; Mon, 27 Jun 2022 08:54:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vbhX4xYeBoLO2wOBzkl5+T6T9UnZA6GEa3+zy6fHiWZiFgPBZXz9O5F9tAvhW95NmqS1bO X-Received: by 2002:a05:6a00:1a8b:b0:525:9c4f:ade5 with SMTP id e11-20020a056a001a8b00b005259c4fade5mr11335171pfv.74.1656345299343; Mon, 27 Jun 2022 08:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656345299; cv=none; d=google.com; s=arc-20160816; b=FI8qSDThiglPcopeMxu+G/FzDqX1iwfhe5dvi+BoueJLaF2E9zPaYomfbyZ6VgJdMm ipGK64Aij7tz4+OI51+XRlJcXsHrP04G3xfbwilnXgU6tLhqoA9m4lFFcu2QudRYfjj2 i/dU4fkywaECnF0b0clP2MXzhyZDTxXoFUo0HRE4oIaD9Bir8PBBZn81LRZzS+RdoB8R cCSf9uhQuANhyR0twMg2p7MH2wjYpQ0BKZo4DXuhx8+mIrwnCq0OGvqAjpfK8HeZ1XN2 o5CM+kx7MLh4/9R1vmrv4yFXt1R3UCJzfhJZTWAXOx+E59AmWi6OsWzJmMTv4Wczp2cu SY4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=F8Q8x9kklhaD7us1l0a8Swdx/IDFyO+N9CPymKEoKRU=; b=dLpIbaUPuM8jLIV49ihPrcvrouJS/VdwNHKLraI/eoEIBBrLH88mxXqKsac7mUHQOV N7YC7zcc0QW3H3qXdKq7jL2wFejI41QniNyPxsiGK5B1wWL2LcetoM8FWnLx/Xcv9XHU Jdv2BL7xV5UuDC5M50mhpE3BwoWm0YTF9qFadtwUapEmPqs5gk6ane0/i/1lRAa6oJu8 88eAl7hZl1W8g34VA/BXu1zoNcnfl/1HbwabGVuadEX/As05Gz4ztW8kvt0wLGrWsr/r 1J1AIuYdajohwjTE72xFuixr/32qagkUMUO/1WJwM+yQtn6yc/+YCFeEX/c2w6i9aT0h RGAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mPJOHnt7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a056a00244700b0051c0fe8e54dsi15631004pfj.374.2022.06.27.08.54.47; Mon, 27 Jun 2022 08:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mPJOHnt7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238617AbiF0PeB (ORCPT + 99 others); Mon, 27 Jun 2022 11:34:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238518AbiF0Pdp (ORCPT ); Mon, 27 Jun 2022 11:33:45 -0400 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26DAD1A802; Mon, 27 Jun 2022 08:33:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656344015; x=1687880015; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5z4e8YkrpJuqMo/WrMKsbmJ8jjBxVMfE5QCMZ7wIgIg=; b=mPJOHnt745DZdI3rkMUvSMGfIZh9jLdC4zWC2q7ESV1JrEI1X98SCCsU 1fnP2nnrIsJxg8uDwcvNgA1rgPRSj19gGzg20myCmZ2LywnQAPo7MJ5e9 tOt6UX7XGX6YdRU1xPHBIytHz4TSCCd8lX+7EjC8a7nVuu4lPlICZmLL0 1wTrM48eCAm09zKqbevyPWSmHyh8FDN7loPf7vOaThEJg7N2xhCt73Pcq cVy5/gdwod/sLRzL2n0rzHLXcpZWSmjEJRp7BraEmqbQk1TJzgFsyXgfB duFA4ELX3SLx4MuRPLoyyY1frTnVxSSMZpsBNjZDqBvoQi7PZXBM829Jg Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10391"; a="343161289" X-IronPort-AV: E=Sophos;i="5.92,226,1650956400"; d="scan'208";a="343161289" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2022 08:33:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,226,1650956400"; d="scan'208";a="616819892" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 27 Jun 2022 08:33:30 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o5qjx-0008hv-V9; Mon, 27 Jun 2022 15:33:29 +0000 Date: Mon, 27 Jun 2022 23:33:29 +0800 From: kernel test robot To: Stefan Binding , "Rafael J . Wysocki" , Len Brown , Mark Brown , Liam Girdwood Cc: kbuild-all@lists.01.org, linux-acpi@vger.kernel.org, alsa-devel@alsa-project.org, Stefan Binding , linux-kernel@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH v2 1/2] ACPI: utils: Add api to read _SUB from ACPI Message-ID: <202206272354.ESTdiIXg-lkp@intel.com> References: <20220627141148.804319-2-sbinding@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220627141148.804319-2-sbinding@opensource.cirrus.com> X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stefan, Thank you for the patch! Yet something to improve: [auto build test ERROR on rafael-pm/linux-next] [also build test ERROR on broonie-sound/for-next linus/master v5.19-rc4 next-20220627] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Stefan-Binding/Read-_SUB-from-ACPI-to-be-able-to-identify-firmware/20220627-221508 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: um-x86_64_defconfig (https://download.01.org/0day-ci/archive/20220627/202206272354.ESTdiIXg-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/93ba13d4b3636b5cf2ff4d9185aa73f059cc7b2a git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Stefan-Binding/Read-_SUB-from-ACPI-to-be-able-to-identify-firmware/20220627-221508 git checkout 93ba13d4b3636b5cf2ff4d9185aa73f059cc7b2a # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=um SUBARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from init/main.c:30: >> include/linux/acpi.h:1028:1: error: expected identifier or '(' before '{' token 1028 | { | ^ init/main.c:769:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes] 769 | void __init __weak arch_post_acpi_subsys_init(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init/main.c:781:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes] 781 | void __init __weak mem_encrypt_init(void) { } | ^~~~~~~~~~~~~~~~ init/main.c:783:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes] 783 | void __init __weak poking_init(void) { } | ^~~~~~~~~~~ In file included from init/main.c:30: include/linux/acpi.h:1027:27: warning: 'acpi_get_subsystem_id' declared 'static' but never defined [-Wunused-function] 1027 | static inline const char *acpi_get_subsystem_id(acpi_handle handle); | ^~~~~~~~~~~~~~~~~~~~~ -- In file included from kernel/sysctl.c:55: >> include/linux/acpi.h:1028:1: error: expected identifier or '(' before '{' token 1028 | { | ^ include/linux/acpi.h:1027:27: warning: 'acpi_get_subsystem_id' declared 'static' but never defined [-Wunused-function] 1027 | static inline const char *acpi_get_subsystem_id(acpi_handle handle); | ^~~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/i2c.h:13, from drivers/input/mouse/synaptics.c:30: >> include/linux/acpi.h:1028:1: error: expected identifier or '(' before '{' token 1028 | { | ^ include/linux/acpi.h:1027:27: warning: 'acpi_get_subsystem_id' declared 'static' but never defined [-Wunused-function] 1027 | static inline const char *acpi_get_subsystem_id(acpi_handle handle); | ^~~~~~~~~~~~~~~~~~~~~ drivers/input/mouse/synaptics.c:164:27: warning: 'smbus_pnp_ids' defined but not used [-Wunused-const-variable=] 164 | static const char * const smbus_pnp_ids[] = { | ^~~~~~~~~~~~~ vim +1028 include/linux/acpi.h 1026 1027 static inline const char *acpi_get_subsystem_id(acpi_handle handle); > 1028 { 1029 return ERR_PTR(-ENODEV); 1030 } 1031 -- 0-DAY CI Kernel Test Service https://01.org/lkp