Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10677305rwr; Fri, 12 May 2023 11:14:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GysE9YT94TaZXL/JQ2iPY6+h8yAQCqcCMhAk2LwvZje5wmPArDTJpGPVmL19XKxTXeGrn X-Received: by 2002:a17:903:228c:b0:19e:6e00:4676 with SMTP id b12-20020a170903228c00b0019e6e004676mr35190443plh.61.1683915265141; Fri, 12 May 2023 11:14:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683915265; cv=none; d=google.com; s=arc-20160816; b=UdM5XVg3QLduPQhPHemC+BWiyi4v6eN6ZJDpfkN2Ext4wTilTpApTkqcKaZHgnx3qh 2kQ/GoCpllUAEa0pjOt4wwdb9VYLAdiW0jz7d9KCjh1EK9zOs4N7PE/F31MpxLvM30Xj tF3HFJR3i3o5toAMgGderk8vXH4ScZnTNRki8lH5cWAiw4etADN8MPlAvifDPuBgjq4K LaQSW4zDuCb7Qw50u61UTIiGBvRtF7sA0kbRyD3qKgzKnyLOgy+OOTLJiM1hJ4vqrm/o 2DycM3Hw3PFkfbLWbFV9BilnWKqqI66PTbZE8tNnl3MYUk/NCxAwh+A3IXjHQfzJW4Ra 6k8A== 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=jRfsw+BWS7LLUSFYXTkVMCAWL98ZloXictdb5l/Vtjk=; b=wa8AyUY4DcGm9/0rmmgtyKbQ4ehjteIRBFNtY+icjnK0O7lg23GD1dtBWq2edcn6Wi k5QKS9czIbyYdk2ytQASglpXI+R7Dd9kmQmLBQJ0muCr495iNytAVkVtIh3uvrOOI8Dd Omi3D2oQoD6kmb5v6ZqgUNDChamUWBgFdKi7grFCQhgYNVwc0/WyGeoJQlLiQ6WUPp9G 62rMIJds2I4Zj+NESLOXtrCXiFnwWojdQmrYwvQVgCDVTAsP9UTB13i4VyrHsoL8zwBh 7i6jUktBLHpyHxU0SOO9VlJbhA//zUWWMuMsrFfx50ty/UYkwFcfhMddW2IcNlJWTKa1 dtkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J1LJRHMQ; 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 mp14-20020a17090b190e00b0024696599329si23422768pjb.77.2023.05.12.11.14.09; Fri, 12 May 2023 11:14:25 -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=J1LJRHMQ; 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 S238133AbjELRn7 (ORCPT + 99 others); Fri, 12 May 2023 13:43:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231128AbjELRn4 (ORCPT ); Fri, 12 May 2023 13:43:56 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CCAC8A4B; Fri, 12 May 2023 10:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683913435; x=1715449435; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Pjbrs8OPQjNCdOcArcy7VvF6XymjWQoxulO2nMIv+oM=; b=J1LJRHMQ0Y91AnxR9Dc+0TyeorYjqhA1tH4pmSoZUDzHl6rToVzAh+7M W1IDc6S0htkBptXzig254QaJc0OTLz60ssgqq2zSdzKFAMwn5BbV0xV8p lVXFPcGkejysJ70DIJH8nQnvfy/asRmpshu/2TwD17Al/V91t4+5piyX0 LpVBBS/3RPt/YSMYJ8xGvXkUE9zem7ZdBcXxcNM9lIkHUST25DIVCFage gZGqgmL0Ds/MXiu2+P5S42tSiqcyen1LX8Kso0dsprDljq1fyqegrDNrN TQrHo5sLjyAfZds4AkxnSHCKDe/+/7vxfid7XqnxaVdYw5Z9Uu07UKh9r w==; X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="331212404" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="331212404" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 10:43:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="694314695" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="694314695" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 12 May 2023 10:43:52 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pxWo4-00050q-0e; Fri, 12 May 2023 17:43:52 +0000 Date: Sat, 13 May 2023 01:43:14 +0800 From: kernel test robot To: Liming Sun , Adrian Hunter , Ulf Hansson , David Thompson , Shawn Lin Cc: oe-kbuild-all@lists.linux.dev, Liming Sun , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] mmc: sdhci-of-dwcmshc: Add runtime PM operations Message-ID: <202305130116.ynGq0pC5-lkp@intel.com> References: <20230512122648.223974-1-limings@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230512122648.223974-1-limings@nvidia.com> X-Spam-Status: No, score=-4.4 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,URIBL_BLOCKED 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 Liming, kernel test robot noticed the following build errors: [auto build test ERROR on ulf-hansson-mmc-mirror/next] [also build test ERROR on linus/master v6.4-rc1 next-20230512] [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/Liming-Sun/mmc-sdhci-of-dwcmshc-Add-runtime-PM-operations/20230512-202948 base: https://git.linaro.org/people/ulf.hansson/mmc-mirror.git next patch link: https://lore.kernel.org/r/20230512122648.223974-1-limings%40nvidia.com patch subject: [PATCH v3] mmc: sdhci-of-dwcmshc: Add runtime PM operations config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20230513/202305130116.ynGq0pC5-lkp@intel.com/config) compiler: arceb-elf-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/eb5d4c0702ce24630f3d82a37f39437f52607cbb git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Liming-Sun/mmc-sdhci-of-dwcmshc-Add-runtime-PM-operations/20230512-202948 git checkout eb5d4c0702ce24630f3d82a37f39437f52607cbb # 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=arc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305130116.ynGq0pC5-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/mmc/host/sdhci-of-dwcmshc.c: In function 'dwcmshc_runtime_suspend': >> drivers/mmc/host/sdhci-of-dwcmshc.c:674:17: error: implicit declaration of function 'dwcmshc_disable_card_clk' [-Werror=implicit-function-declaration] 674 | dwcmshc_disable_card_clk(host); | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/mmc/host/sdhci-of-dwcmshc.c: In function 'dwcmshc_runtime_resume': >> drivers/mmc/host/sdhci-of-dwcmshc.c:684:9: error: implicit declaration of function 'dwcmshc_enable_card_clk' [-Werror=implicit-function-declaration] 684 | dwcmshc_enable_card_clk(host); | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/dwcmshc_disable_card_clk +674 drivers/mmc/host/sdhci-of-dwcmshc.c 666 667 static int dwcmshc_runtime_suspend(struct device *dev) 668 { 669 struct sdhci_host *host = dev_get_drvdata(dev); 670 int ret = 0; 671 672 ret = sdhci_runtime_suspend_host(host); 673 if (!ret) > 674 dwcmshc_disable_card_clk(host); 675 676 return ret; 677 } 678 679 static int dwcmshc_runtime_resume(struct device *dev) 680 { 681 struct sdhci_host *host = dev_get_drvdata(dev); 682 int ret = 0; 683 > 684 dwcmshc_enable_card_clk(host); 685 ret = sdhci_runtime_resume_host(host, 0); 686 687 return ret; 688 } 689 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests