From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6B99C43334 for ; Wed, 22 Jun 2022 21:11:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356156AbiFVVLG (ORCPT ); Wed, 22 Jun 2022 17:11:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbiFVVLF (ORCPT ); Wed, 22 Jun 2022 17:11:05 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C11E42FFDC; Wed, 22 Jun 2022 14:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655932264; x=1687468264; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=qETdEtCS92Y/0CHpomE0Y/TnCnDaHjp9IhR6dEaORYM=; b=gRKtRdCYwwTEcHM2ifdvrWGbnFiayMknSJ1VGr46aMYyT53Ots/svur0 p1FJLsFWtJ3g7y1hhg8cbgw1r+x3VG3fpqMlP3Z3pw28dzdDtOq0bdE5i WN1MOyiEWyw4zrKvxlIkBAW9wtlyhSorszyM1ApSuyry7aOkERSbKON/K BNAW5io1QqRop9dWMlNkYWsM76HxMgXzBTNwlF0f5K81Po0BaeCKXnmys 6DGIdTzzIxk4Nlz7jpUUqqvqI+ZQJHm6sPU1aZpkkU295SU7NZ4qdpx6X ObY08yT6TdHVvFoaE8Vs6DEzki4qz0bcpqhmphoI6QH/nKtnpsWT+HeO9 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="281276623" X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="281276623" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2022 14:11:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,212,1650956400"; d="scan'208";a="644395860" Received: from lkp-server02.sh.intel.com (HELO a67cc04a5eeb) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 22 Jun 2022 14:11:02 -0700 Received: from kbuild by a67cc04a5eeb with local (Exim 4.95) (envelope-from ) id 1o47cr-0001gv-Go; Wed, 22 Jun 2022 21:11:01 +0000 Date: Thu, 23 Jun 2022 05:10:37 +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, linux-kernel@vger.kernel.org, patches@opensource.cirrus.com, Stefan Binding Subject: Re: [PATCH v1 1/2] ACPI: utils: Add api to read _SUB from ACPI Message-ID: <202206230402.9xK6YlsY-lkp@intel.com> References: <20220622130730.1573747-2-sbinding@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220622130730.1573747-2-sbinding@opensource.cirrus.com> Precedence: bulk List-ID: X-Mailing-List: linux-acpi@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-rc3 next-20220622] [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/20220622-211004 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next config: powerpc-pasemi_defconfig (https://download.01.org/0day-ci/archive/20220623/202206230402.9xK6YlsY-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/97b928a895ce3105296f0036393bb9ee04f11ae4 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/20220622-211004 git checkout 97b928a895ce3105296f0036393bb9ee04f11ae4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=powerpc 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 include/linux/i2c.h:13, from include/uapi/linux/fb.h:6, from include/linux/fb.h:7, from include/linux/backlight.h:13, from arch/powerpc/kernel/traps.c:32: >> include/linux/acpi.h:1029:12: error: 'acpi_get_sub' defined but not used [-Werror=unused-function] 1029 | static int acpi_get_sub(acpi_handle handle, char *sub, size_t size) | ^~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/acpi_get_sub +1029 include/linux/acpi.h 1028 > 1029 static int acpi_get_sub(acpi_handle handle, char *sub, size_t size) 1030 { 1031 return -ENODEV; 1032 } 1033 -- 0-DAY CI Kernel Test Service https://01.org/lkp