Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp523233rwd; Sat, 27 May 2023 01:45:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5hBSYs/ut2R78EzM2lA+dV0QGBrititepDYOWfro8IuIi4DPk+Ak9cu7vSAwZfcIHzsJIt X-Received: by 2002:a17:902:e806:b0:1af:d00c:7f04 with SMTP id u6-20020a170902e80600b001afd00c7f04mr6792135plg.12.1685177135998; Sat, 27 May 2023 01:45:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685177135; cv=none; d=google.com; s=arc-20160816; b=t6UBuLWjCcHepMPJKggQhRzJQpwlhxL37Ox/vPZFKcu6d9ezHe31RhfLWigVDeT0kB CTCpCUw+6GN7gXp7BrrlU0S2Jbtkmx/MA2/BjW4f8geWn+FTTr8JoYBr9UflLZpeUuY1 JD6eLlHJdInyaR6g5WyuQmhwIIv6FjVhevE6az3p7U/2vD8XzaIi8wU5Ti6GO2SWpGEZ RllGYH4/KcsNaMfTTGgqGFHeJisej9Em0K6P3OvuwJDU0NRHnXbTWSx0oN0qI46wNQbw nl6espKUtSAnYsdD56tIMo84Ac+9M4PqbwWzY3serOsBpTfK5psXWbG5IEjF0TtJ9Ifd S0Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=gfEWjcoYjORu2yY/QYO0/h42kth2HRiTtZl0lmnsTXQ=; b=u6f5yjtYWOLSmAKbRt8ESyCIAw5dVOTSMMoTF4r9EfGtc8jBnmsgDeHto+UtUKimtD rlx6Kj16gbyzKUUmpS3ahl6fj4oA4kQ8wtbcwoZbGoKvbwTFPkfWv3S+9Hm63n0x/gCf +2WcBeMVQQBEVMiiw+WlR5jBtyKZBJeKpcW1yolj35wWWg0ww+d7gldPg7eZvhxTZ/Zw cDsqGaA5JA9jcu/cCOyN7Hlg5MJR8+BwR7DCxmlITTHP3izUCCdDyXOFVUyt003BbIs/ gJy8ZVeHfczQHaagDbkl8atxmYbt4Unobb9twvqt+jpXCY0J+WgyKLOI/en3WokXzyEz F8/g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a170902ecc600b001ae5fe35b6dsi3358984plh.177.2023.05.27.01.45.23; Sat, 27 May 2023 01:45: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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231586AbjE0Ibb (ORCPT + 99 others); Sat, 27 May 2023 04:31:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbjE0Ib3 (ORCPT ); Sat, 27 May 2023 04:31:29 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A394EE3; Sat, 27 May 2023 01:31:27 -0700 (PDT) Received: from dggpeml500002.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QSw0q6Mc4zLpv8; Sat, 27 May 2023 16:28:27 +0800 (CST) Received: from [10.67.103.44] (10.67.103.44) by dggpeml500002.china.huawei.com (7.185.36.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 27 May 2023 16:31:25 +0800 Subject: Re: [PATCH 1/3] drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU driver To: kernel test robot , , , , References: <20230523131825.6102-2-hejunhao3@huawei.com> <202305241109.DJKYvjGM-lkp@intel.com> CC: , , , , , , From: hejunhao Message-ID: <6e7afde3-1358-ddcf-fca1-bd0056285cd8@huawei.com> Date: Sat, 27 May 2023 16:31:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <202305241109.DJKYvjGM-lkp@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.44] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpeml500002.china.huawei.com (7.185.36.158) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,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 On 2023/5/24 12:28, kernel test robot wrote: > Hi Junhao, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on linus/master] > [also build test WARNING on v6.4-rc3 next-20230523] > [cannot apply to soc/for-next] > [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/Junhao-He/drivers-perf-hisi-Add-support-for-HiSilicon-H60PA-and-PAv3-PMU-driver/20230523-215041 > base: linus/master > patch link: https://lore.kernel.org/r/20230523131825.6102-2-hejunhao3%40huawei.com > patch subject: [PATCH 1/3] drivers/perf: hisi: Add support for HiSilicon H60PA and PAv3 PMU driver > config: arm64-allyesconfig > compiler: aarch64-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/f89c838447a57f5b51474a6aea981acbe68f73b9 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Junhao-He/drivers-perf-hisi-Add-support-for-HiSilicon-H60PA-and-PAv3-PMU-driver/20230523-215041 > git checkout f89c838447a57f5b51474a6aea981acbe68f73b9 > # 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=arm64 olddefconfig > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/perf/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202305241109.DJKYvjGM-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > In file included from drivers/perf/hisilicon/hisi_uncore_pmu.c:21: >>> drivers/perf/hisilicon/hisi_uncore_pmu.h:140:5: warning: no previous prototype for 'hisi_uncore_pmu_ver2idx' [-Wmissing-prototypes] > 140 | int hisi_uncore_pmu_ver2idx(struct hisi_pmu *pmu) > | ^~~~~~~~~~~~~~~~~~~~~~~ Thanks, Will fix in next version. > > vim +/hisi_uncore_pmu_ver2idx +140 drivers/perf/hisilicon/hisi_uncore_pmu.h > > 139 > > 140 int hisi_uncore_pmu_ver2idx(struct hisi_pmu *pmu) >