Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp334159rdh; Wed, 23 Aug 2023 00:53:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHbY2p70zJ4LKfGYC2ecu6U1KWzjzUQ+Btq/KbsIycSOuAA6hkhBCyMkH2xDKMDSD4LWqrf X-Received: by 2002:a05:6358:6f1d:b0:13c:b54e:fe67 with SMTP id r29-20020a0563586f1d00b0013cb54efe67mr1344942rwn.0.1692777215412; Wed, 23 Aug 2023 00:53:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692777215; cv=none; d=google.com; s=arc-20160816; b=vU6lux/y+SHqpyaL+iC/d01vaQULLK4+0UC2/ORmgQUlgf/J4w3C33eTxnox+9UEhT BXZQrkswIhIf3plRa/WXA5YEtCkxGTxzCY4XVJsYxgOr0mpLZGUGY61zMsVSL92in/Ao OOiw4dwv7ILJlljrSIKstsgDQn+qnqLwkfL//8N5UMMt+nbbTJMLk/6REe7b3ZBbh5FN nBJTxQv6XDguDfmHz+wL2aea+SBNC53AogrqjBFR1Hzn1SzFbTudccohoAN4tjj5uX8P NS+918L4CT51jm0pXRL+G/P6/wEPuMEXC9vvnPMw1mBgs09Khc7qTURdnextOE+Ni4Lx +xUA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ml20ybk25yat/efAgrshiJY+pQRe7CUoDQGLdZ4gyaY=; fh=EICmH6pV4z/oKBM56HEtIVNCoRCdqUh8e54m+9U9DfU=; b=bfVDSeDJcjWVoyDuC6AzbYPMl43WguTXMXM70IBXRUg5jnyFKr4MgPaOaHqusAueQ8 drTVj6ds7Hmwcrq7tB8YzfjcMZWwBhHNWN0bE8Pa483EXzDGQivfgs75H4u5+iDztITq 8Ni6cbXR6ov0FhW27sPh1046yadg5gp8cwfarsR1Zzpz1aJ3+axEdToDXG1JByFUfMRO Vu+E3be/u0u5hVYozKtmboRer4dTE9VdEdXxaKwtlc9ixdv8Ir3i4z+slSEqs0odvCev D02MC19IhCEC7Rw9zizNkYzxcqAHML8/4x1mN4/kJ8mbsEyRdM3NeA0cm8oD7+4NwXb9 cLiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UbMFTgwT; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n127-20020a632785000000b00565f703e067si6268059pgn.399.2023.08.23.00.53.23; Wed, 23 Aug 2023 00:53:35 -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=@kernel.org header.s=k20201202 header.b=UbMFTgwT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232907AbjHWGTj (ORCPT + 99 others); Wed, 23 Aug 2023 02:19:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbjHWGTi (ORCPT ); Wed, 23 Aug 2023 02:19:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35E95E7E; Tue, 22 Aug 2023 23:19:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C44D861351; Wed, 23 Aug 2023 06:19:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 938C3C433C7; Wed, 23 Aug 2023 06:19:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692771561; bh=hRs5dH0ZEPcb6II3vz8akVjaVIarEG42/y1v3tkpUzg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UbMFTgwT5DIncy9OyNxvxDcjJUmUgPFw7S5x606CbXJpl2Ajsbj6TiDFa/YQ78dFo 1+xteboubD3G3s2MMuyXy7QqqaOpnoMuXlTFuZs1E0QwQR/S7H4ciOpbbZTs8BD8T0 8l8KYh2C/htx1VRg17/k91/sHkNTodHdEZ4IORwl7MM3q0gbMowADeU8FOT74pFuEG jb6nHdr6AO1SubsNLRkHgMqKZliGUYRAHjHivlSBs95f500FCOHFu984DexcWtjTVw sRvufy3n7QSLO17xEiOpa46LpK20gEYM9LCIxNrJUyUZht9U30Ml8YPOhPJ+lqxC6Z x9ciOHFMWXwig== Date: Wed, 23 Aug 2023 11:49:04 +0530 From: Manivannan Sadhasivam To: kernel test robot Cc: Krishna chaitanya chundru , manivannan.sadhasivam@linaro.org, oe-kbuild-all@lists.linux.dev, helgaas@kernel.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, quic_vbadigan@quicinc.com, quic_nitegupt@quicinc.com, quic_skananth@quicinc.com, quic_ramkri@quicinc.com, quic_parass@quicinc.com, krzysztof.kozlowski@linaro.org, Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Kishon Vijay Abraham I , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH v5 1/4] PCI: endpoint: Add D-state change notifier support Message-ID: <20230823061904.GC3737@thinkpad> References: <1690948281-2143-2-git-send-email-quic_krichai@quicinc.com> <202308021312.obgu7FWM-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202308021312.obgu7FWM-lkp@intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,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 On Wed, Aug 02, 2023 at 01:14:44PM +0800, kernel test robot wrote: > Hi Krishna, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on pci/next] > [also build test WARNING on pci/for-linus linus/master v6.5-rc4 next-20230801] > [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/Krishna-chaitanya-chundru/PCI-endpoint-Add-D-state-change-notifier-support/20230802-115309 > base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next > patch link: https://lore.kernel.org/r/1690948281-2143-2-git-send-email-quic_krichai%40quicinc.com > patch subject: [PATCH v5 1/4] PCI: endpoint: Add D-state change notifier support > config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20230802/202308021312.obgu7FWM-lkp@intel.com/config) > compiler: loongarch64-linux-gcc (GCC) 12.3.0 > reproduce: (https://download.01.org/0day-ci/archive/20230802/202308021312.obgu7FWM-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202308021312.obgu7FWM-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > >> drivers/pci/endpoint/pci-epc-core.c:795:6: warning: no previous prototype for 'pci_epc_dstate_notity' [-Wmissing-prototypes] > 795 | void pci_epc_dstate_notity(struct pci_epc *epc, pci_power_t state) This tells that you haven't build tested the series before sending. Please always do both build and functionality testing before sending each iteration. - Mani > | ^~~~~~~~~~~~~~~~~~~~~ > > > vim +/pci_epc_dstate_notity +795 drivers/pci/endpoint/pci-epc-core.c > > 785 > 786 /** > 787 * pci_epc_dstate_notity() - Notify the EPF driver that EPC device D-state > 788 * has changed > 789 * @epc: the EPC device which has change in D-state > 790 * @state: the changed D-state > 791 * > 792 * Invoke to Notify the EPF device that the EPC device has D-state has > 793 * changed. > 794 */ > > 795 void pci_epc_dstate_notity(struct pci_epc *epc, pci_power_t state) > 796 { > 797 struct pci_epf *epf; > 798 > 799 if (!epc || IS_ERR(epc)) > 800 return; > 801 > 802 mutex_lock(&epc->list_lock); > 803 list_for_each_entry(epf, &epc->pci_epf, list) { > 804 mutex_lock(&epf->lock); > 805 if (epf->event_ops && epf->event_ops->dstate_notify) > 806 epf->event_ops->dstate_notify(epf, state); > 807 mutex_unlock(&epf->lock); > 808 } > 809 mutex_unlock(&epc->list_lock); > 810 } > 811 EXPORT_SYMBOL_GPL(pci_epc_dstate_notity); > 812 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki -- மணிவண்ணன் சதாசிவம்