Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp3902365rwb; Sun, 7 Aug 2022 09:47:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ttKd27ocjFgx4v53Hx2aJz/oiXPSE7nDbrSveXnU49b+itMk+8k+Ud90B+TYRwe7Le3wC X-Received: by 2002:a17:907:6e88:b0:730:e16e:b760 with SMTP id sh8-20020a1709076e8800b00730e16eb760mr10161122ejc.5.1659890869947; Sun, 07 Aug 2022 09:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659890869; cv=none; d=google.com; s=arc-20160816; b=lBMPthWehOH8y9HZthUBGz+mNn0xvps4T4sSHLR+ddVDMIEx26GYmLgbpkJxLSXb54 OzuodjZdCi45Aamg1GX8+kYsLt65c9X/TmyRuJbC2CMPduFcjCiL202hzG4YjD5ZRBIV 1aB3edFLeU9pFoejYogc9e4sNZyLc8Y3zSpC8C8Q/tWDocbMEir1LIbFNjaehYaktDJ+ hL3rzvZ71PcnQ3+c4jZoQlgtayvPBMCp03qmEXL/AY8pVqFnwNkZl9yjYy1JJxC/lwV0 6n2m9jr0nN5axGMtLz9EfSjuAFlriRvlk4ux04YKroYVlb72ne2xAbJWFokxekkzSWjH kF1Q== 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=Cl8O44xCmbIf+vWocRY5Y8PVldL0/LassJIZ/MHZb5I=; b=apbgJ6/XMy+ZWMPacnTm8WuSpXT3/g7XFZw5+q7cn3dbs0VY7Zz50b+inX8OlFeiCF 24FGMFy6HW+Vw7EV+5ugg5Bb+r1e3HQryNOEA2foefGoPtarJEW/gpEx5YHDkYMeLs4K oOqHkGf5V4UeikwG5Eel9SWZpnjNMqUtd4OzLkPaQzvLMU/b2B4S/asjAUNX7VVZiBn9 g8iFMLWoYMkEUudr5wNN1IRH7UJUEFpIi8QMyau4FDvHjTSD2E1fUUOCTT/2TiyJjB7A 0/ZLmlvLhpxmuAJ5z5MbXsfKAo4RL+zZ/n/HmgemRwlC9XPanWXdvB6JRysKMaKY/Swo TeyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZcQTzt7S; 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 qk37-20020a1709077fa500b00730d37b473fsi8381773ejc.679.2022.08.07.09.47.02; Sun, 07 Aug 2022 09:47:49 -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=ZcQTzt7S; 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 S234533AbiHGQBz (ORCPT + 99 others); Sun, 7 Aug 2022 12:01:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234539AbiHGQBs (ORCPT ); Sun, 7 Aug 2022 12:01:48 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07C04A18C for ; Sun, 7 Aug 2022 09:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659888103; x=1691424103; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=gZTz/m4Se/2AOgpCCgOVve4JFAbqZFfTfh9rCmBWmeI=; b=ZcQTzt7SFtwHbzvc4IyC1uAs39z+qAVilw0ri98YS767bDIRRER90sup VPyK9Y/HnGtKkGU+WLQsVd4xPjKRzznOKxdWBX3dDLX/hDpUyzJNumc1a JUC90Baf18B/j/9sfRxssrYYjdVZ5V0sbc1WNrMrtPu8Jcfsf8gL/ff4k II8Zchayn0iwlW07kZ8Pp1rzlpRYzo32OQqZIRuhMYmPHNh7QN5ajTqL/ Jzce5hTqnOje5I4eaR/dY0KbseXZGwQiAAwgAEB+XdRxPO05z5xknzLLo zNYot6JqEDdjoGQDsRM4GxJR9uM1CUPwT5PZIoluReIQ+24S3Ck1/0N1Q w==; X-IronPort-AV: E=McAfee;i="6400,9594,10432"; a="291222696" X-IronPort-AV: E=Sophos;i="5.93,220,1654585200"; d="scan'208";a="291222696" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2022 09:01:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,220,1654585200"; d="scan'208";a="672204094" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 07 Aug 2022 09:01:40 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oKiih-000LQX-19; Sun, 07 Aug 2022 16:01:39 +0000 Date: Mon, 8 Aug 2022 00:00:40 +0800 From: kernel test robot To: Paul Cercueil , Lee Jones Cc: 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: <202208072317.F5f2MGx5-lkp@intel.com> References: <20220807145247.46107-26-paul@crapouillou.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220807145247.46107-26-paul@crapouillou.net> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 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: openrisc-randconfig-r015-20220807 (https://download.01.org/0day-ci/archive/20220807/202208072317.F5f2MGx5-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 12.1.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/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=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=openrisc 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: In function 'stmfx_suspend': >> drivers/mfd/stmfx.c:485:37: error: 'struct stmfx' has no member named 'bkp_sysctrl' 485 | &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); | ^~ drivers/mfd/stmfx.c:485:64: error: 'struct stmfx' has no member named 'bkp_sysctrl' 485 | &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); | ^~ >> drivers/mfd/stmfx.c:490:37: error: 'struct stmfx' has no member named 'bkp_irqoutpin' 490 | &stmfx->bkp_irqoutpin, | ^~ drivers/mfd/stmfx.c:491:43: error: 'struct stmfx' has no member named 'bkp_irqoutpin' 491 | sizeof(stmfx->bkp_irqoutpin)); | ^~ drivers/mfd/stmfx.c: In function 'stmfx_resume': drivers/mfd/stmfx.c:525:38: error: 'struct stmfx' has no member named 'bkp_sysctrl' 525 | &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); | ^~ drivers/mfd/stmfx.c:525:65: error: 'struct stmfx' has no member named 'bkp_sysctrl' 525 | &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl)); | ^~ drivers/mfd/stmfx.c:530:38: error: 'struct stmfx' has no member named 'bkp_irqoutpin' 530 | &stmfx->bkp_irqoutpin, | ^~ drivers/mfd/stmfx.c:531:44: error: 'struct stmfx' has no member named 'bkp_irqoutpin' 531 | sizeof(stmfx->bkp_irqoutpin)); | ^~ 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