From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADCC53C2F for ; Sun, 7 Aug 2022 18:15:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659896148; x=1691432148; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SzlJQkY7FhUA15heqPBSFMQ71M01/eJ0bitLZcONHA0=; b=K9wDDw9Obkisr4ETK2zPSoRZIcOjVDFpV6DpZFnc/vJ8OW/bic0p8I/O /dJoAHfrRjuY7zWQauaIC3EJuYDcNwrARu1Cc7UbdzVSTyCNdGQ7z022q NGvdRdVq3PCyZCidV/ecskyxasEHaItX92M2M6i5hStExAkDmpLcLHHoF vMZNXUOr8PAJw54YQN0w1pEm+hO3wXsWPVEFszo1KrcJHPkMAFp4oD9SB /hY1O/cxrR99gJS9DwTPMorGS9Ou5G8lzhTkN+TkFIVZclN6OvRydAv3x lQapAhtUXU7OBTR4Y0MwmGH+IIMzBv5A6HGNY9X8xyzl4vGkgYdreZuiy Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10432"; a="354454666" X-IronPort-AV: E=Sophos;i="5.93,220,1654585200"; d="scan'208";a="354454666" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2022 11:15:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,220,1654585200"; d="scan'208";a="849836383" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 07 Aug 2022 11:15:46 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oKkoT-000LY1-15; Sun, 07 Aug 2022 18:15:45 +0000 Date: Mon, 8 Aug 2022 02:15:36 +0800 From: kernel test robot To: Paul Cercueil , Lee Jones Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Paul Cercueil , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 25/28] mfd: stmfx: Remove #ifdef guards for PM related functions Message-ID: <202208080225.Hm01SP8r-lkp@intel.com> References: <20220807145247.46107-26-paul@crapouillou.net> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220807145247.46107-26-paul@crapouillou.net> Hi Paul, I love your patch! Yet something to improve: [auto build test ERROR on v5.19] [cannot apply to lee-mfd/for-mfd-next linus/master next-20220805] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Paul-Cercueil/mfd-Remove-ifdef-guards-for-PM-functions/20220807-225947 base: 3d7cb6b04c3f3115719235cc6866b10326de34cd config: hexagon-randconfig-r013-20220807 (https://download.01.org/0day-ci/archive/20220808/202208080225.Hm01SP8r-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520) 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/5a39bd52d549e3f3be743fb336dd710eac75055d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Paul-Cercueil/mfd-Remove-ifdef-guards-for-PM-functions/20220807-225947 git checkout 5a39bd52d549e3f3be743fb336dd710eac75055d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/mfd/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/mfd/stmfx.c:485:18: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ drivers/mfd/stmfx.c:485:45: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ >> drivers/mfd/stmfx.c:490:18: error: no member named 'bkp_irqoutpin' in 'struct stmfx' &stmfx->bkp_irqoutpin, ~~~~~ ^ drivers/mfd/stmfx.c:491:24: error: no member named 'bkp_irqoutpin' in 'struct stmfx' sizeof(stmfx->bkp_irqoutpin)); ~~~~~ ^ drivers/mfd/stmfx.c:525:19: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ drivers/mfd/stmfx.c:525:46: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ drivers/mfd/stmfx.c:530:19: error: no member named 'bkp_irqoutpin' in 'struct stmfx' &stmfx->bkp_irqoutpin, ~~~~~ ^ drivers/mfd/stmfx.c:531:25: error: no member named 'bkp_irqoutpin' in 'struct stmfx' sizeof(stmfx->bkp_irqoutpin)); ~~~~~ ^ 8 errors generated. vim +485 drivers/mfd/stmfx.c 06252ade915665 Amelie Delaunay 2019-05-09 478 06252ade915665 Amelie Delaunay 2019-05-09 479 static int stmfx_suspend(struct device *dev) 06252ade915665 Amelie Delaunay 2019-05-09 480 { 06252ade915665 Amelie Delaunay 2019-05-09 481 struct stmfx *stmfx = dev_get_drvdata(dev); 06252ade915665 Amelie Delaunay 2019-05-09 482 int ret; 06252ade915665 Amelie Delaunay 2019-05-09 483 06252ade915665 Amelie Delaunay 2019-05-09 484 ret = regmap_raw_read(stmfx->map, STMFX_REG_SYS_CTRL, 06252ade915665 Amelie Delaunay 2019-05-09 @485 &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); 06252ade915665 Amelie Delaunay 2019-05-09 486 if (ret) 06252ade915665 Amelie Delaunay 2019-05-09 487 return ret; 06252ade915665 Amelie Delaunay 2019-05-09 488 06252ade915665 Amelie Delaunay 2019-05-09 489 ret = regmap_raw_read(stmfx->map, STMFX_REG_IRQ_OUT_PIN, 06252ade915665 Amelie Delaunay 2019-05-09 @490 &stmfx->bkp_irqoutpin, 06252ade915665 Amelie Delaunay 2019-05-09 491 sizeof(stmfx->bkp_irqoutpin)); 06252ade915665 Amelie Delaunay 2019-05-09 492 if (ret) 06252ade915665 Amelie Delaunay 2019-05-09 493 return ret; 06252ade915665 Amelie Delaunay 2019-05-09 494 97eda5dcc2cde5 Amelie Delaunay 2020-04-22 495 disable_irq(stmfx->irq); 97eda5dcc2cde5 Amelie Delaunay 2020-04-22 496 06252ade915665 Amelie Delaunay 2019-05-09 497 if (stmfx->vdd) 06252ade915665 Amelie Delaunay 2019-05-09 498 return regulator_disable(stmfx->vdd); 06252ade915665 Amelie Delaunay 2019-05-09 499 06252ade915665 Amelie Delaunay 2019-05-09 500 return 0; 06252ade915665 Amelie Delaunay 2019-05-09 501 } 06252ade915665 Amelie Delaunay 2019-05-09 502 -- 0-DAY CI Kernel Test Service https://01.org/lkp 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5FFAC19F2A for ; Sun, 7 Aug 2022 18:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IX7i0TwKv6VCttuC5BlE+PHILCYr63g+SZxwSCVEPsg=; b=xAMwKJg5Dl3H4/ YMuAvNN2gTV0aczdG74+lbiW1alnFzSd6jKHphgGdL4DYBC7BzJZ6KOugvX5LRcWaDzI9B9VORCQi eoW9hpvBMDEQD49PkpNxebmm1iRrajjBjVL2n4PLIIHi63Xgd+NYY7Jd0U3EizIUfjZjTrJri8b3o TmRD/PqqRjSu07q7ED0wKvOroKW1a7j9GPWgwALk9XnIYidMO81NLq7S00EeU9LMxS91ps4VnQuuq PSY+xLfjUUk5SLU9kgAzO4VhjX3+ik2RT8HW1Gimp6PUoiEarp2jB/KwsD9s19jKlSHFhHL6EoIWv 5DDDjwooX6MSwPpOONfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oKkoc-001EHm-Em; Sun, 07 Aug 2022 18:15:54 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oKkoY-001EF0-Sw for linux-arm-kernel@lists.infradead.org; Sun, 07 Aug 2022 18:15:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659896150; x=1691432150; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=SzlJQkY7FhUA15heqPBSFMQ71M01/eJ0bitLZcONHA0=; b=HCyM+vJ7HAd/BMXXmA65TM1C3QiMshoJhCEC/7zcp0URPcAjhyN1tZXz 3pS5SbVdhPHZO9scEjp2sLVDquLhm6iAMhUoFYHR4nmpkXRDKXSTIMlEj WwdSWQtnzwa3Bnfg7Ez9kK9Alx0o+l9Dhtuo1WEA++5EYaLq3XxcFIzSB D5UehGY26eE1BVT++puT6cfFjF3qjvl37v83AY7dNLwwWTX8MBvibkACy ja/NVu9PS/kVEdYGpGC6DLvFz7re1l6cBWu/fZkpc5mt+PftAnM27maGL UYZMu1GnF4UncZ37nod3jMRMJZoKo2HmoocdZMXh4tdqYoWt9wMPxHqrI w==; X-IronPort-AV: E=McAfee;i="6400,9594,10432"; a="291230730" X-IronPort-AV: E=Sophos;i="5.93,220,1654585200"; d="scan'208";a="291230730" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2022 11:15:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,220,1654585200"; d="scan'208";a="849836383" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 07 Aug 2022 11:15:46 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oKkoT-000LY1-15; Sun, 07 Aug 2022 18:15:45 +0000 Date: Mon, 8 Aug 2022 02:15:36 +0800 From: kernel test robot To: Paul Cercueil , Lee Jones Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Paul Cercueil , Maxime Coquelin , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 25/28] mfd: stmfx: Remove #ifdef guards for PM related functions Message-ID: <202208080225.Hm01SP8r-lkp@intel.com> References: <20220807145247.46107-26-paul@crapouillou.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220807145247.46107-26-paul@crapouillou.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220807_111551_004731_4CBF4FDE X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Paul, I love your patch! Yet something to improve: [auto build test ERROR on v5.19] [cannot apply to lee-mfd/for-mfd-next linus/master next-20220805] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Paul-Cercueil/mfd-Remove-ifdef-guards-for-PM-functions/20220807-225947 base: 3d7cb6b04c3f3115719235cc6866b10326de34cd config: hexagon-randconfig-r013-20220807 (https://download.01.org/0day-ci/archive/20220808/202208080225.Hm01SP8r-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520) 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/5a39bd52d549e3f3be743fb336dd710eac75055d git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Paul-Cercueil/mfd-Remove-ifdef-guards-for-PM-functions/20220807-225947 git checkout 5a39bd52d549e3f3be743fb336dd710eac75055d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/mfd/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/mfd/stmfx.c:485:18: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ drivers/mfd/stmfx.c:485:45: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ >> drivers/mfd/stmfx.c:490:18: error: no member named 'bkp_irqoutpin' in 'struct stmfx' &stmfx->bkp_irqoutpin, ~~~~~ ^ drivers/mfd/stmfx.c:491:24: error: no member named 'bkp_irqoutpin' in 'struct stmfx' sizeof(stmfx->bkp_irqoutpin)); ~~~~~ ^ drivers/mfd/stmfx.c:525:19: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ drivers/mfd/stmfx.c:525:46: error: no member named 'bkp_sysctrl' in 'struct stmfx' &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); ~~~~~ ^ drivers/mfd/stmfx.c:530:19: error: no member named 'bkp_irqoutpin' in 'struct stmfx' &stmfx->bkp_irqoutpin, ~~~~~ ^ drivers/mfd/stmfx.c:531:25: error: no member named 'bkp_irqoutpin' in 'struct stmfx' sizeof(stmfx->bkp_irqoutpin)); ~~~~~ ^ 8 errors generated. vim +485 drivers/mfd/stmfx.c 06252ade915665 Amelie Delaunay 2019-05-09 478 06252ade915665 Amelie Delaunay 2019-05-09 479 static int stmfx_suspend(struct device *dev) 06252ade915665 Amelie Delaunay 2019-05-09 480 { 06252ade915665 Amelie Delaunay 2019-05-09 481 struct stmfx *stmfx = dev_get_drvdata(dev); 06252ade915665 Amelie Delaunay 2019-05-09 482 int ret; 06252ade915665 Amelie Delaunay 2019-05-09 483 06252ade915665 Amelie Delaunay 2019-05-09 484 ret = regmap_raw_read(stmfx->map, STMFX_REG_SYS_CTRL, 06252ade915665 Amelie Delaunay 2019-05-09 @485 &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); 06252ade915665 Amelie Delaunay 2019-05-09 486 if (ret) 06252ade915665 Amelie Delaunay 2019-05-09 487 return ret; 06252ade915665 Amelie Delaunay 2019-05-09 488 06252ade915665 Amelie Delaunay 2019-05-09 489 ret = regmap_raw_read(stmfx->map, STMFX_REG_IRQ_OUT_PIN, 06252ade915665 Amelie Delaunay 2019-05-09 @490 &stmfx->bkp_irqoutpin, 06252ade915665 Amelie Delaunay 2019-05-09 491 sizeof(stmfx->bkp_irqoutpin)); 06252ade915665 Amelie Delaunay 2019-05-09 492 if (ret) 06252ade915665 Amelie Delaunay 2019-05-09 493 return ret; 06252ade915665 Amelie Delaunay 2019-05-09 494 97eda5dcc2cde5 Amelie Delaunay 2020-04-22 495 disable_irq(stmfx->irq); 97eda5dcc2cde5 Amelie Delaunay 2020-04-22 496 06252ade915665 Amelie Delaunay 2019-05-09 497 if (stmfx->vdd) 06252ade915665 Amelie Delaunay 2019-05-09 498 return regulator_disable(stmfx->vdd); 06252ade915665 Amelie Delaunay 2019-05-09 499 06252ade915665 Amelie Delaunay 2019-05-09 500 return 0; 06252ade915665 Amelie Delaunay 2019-05-09 501 } 06252ade915665 Amelie Delaunay 2019-05-09 502 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel