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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A5E9C61D9B for ; Wed, 22 Nov 2023 12:42:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344131AbjKVMmv (ORCPT ); Wed, 22 Nov 2023 07:42:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344082AbjKVMmt (ORCPT ); Wed, 22 Nov 2023 07:42:49 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A3FDE7; Wed, 22 Nov 2023 04:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700656965; x=1732192965; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5hLJrOV+mAip0x+2PM8ZuUHmD9zS7dhAzUTqBe3VWrg=; b=GcgFzAgsZIHfg0GpdwbzBm1KuT5Tuj778U2XG0LjHAhqJMMOreYoZlGX mGlCoVLXPEzkRUx24T5xUCST8irL8/8g6HiJGcfGRNy4SF60F6+RawO4o 2hAZB7uuKi148MXLFtkZi/7F1cQ1kyzWF847af7/WbLV9mBTm1LHuJ8my d2dxqOS8zGs/5Dcg6agBU+D+m49d2QiARkcaWAKrCFOc7myPd2wrhg1QU rQSgGH8ZXEA0p6EP15t1L+5sqgORW2iEMH6jTXdOggb5j1vO7yAQs43t5 lISNSy/Vaw1GiMax4Xo1RyMb54aRYX4Sqjkcn+gcnwQMaHu9WZCoiKCWl w==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="5186789" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="5186789" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 04:42:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="1014221335" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="1014221335" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 22 Nov 2023 04:42:38 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r5mYt-0000Sy-1t; Wed, 22 Nov 2023 12:42:35 +0000 Date: Wed, 22 Nov 2023 20:40:59 +0800 From: kernel test robot To: shiju.jose@huawei.com, linux-cxl@vger.kernel.org, linux-mm@kvack.org, dave@stgolabs.net, jonathan.cameron@huawei.com, dave.jiang@intel.com, alison.schofield@intel.com, vishal.l.verma@intel.com, ira.weiny@intel.com, dan.j.williams@intel.com Cc: oe-kbuild-all@lists.linux.dev, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, david@redhat.com, Vilas.Sridharan@amd.com, leo.duran@amd.com, Yazen.Ghannam@amd.com, rientjes@google.com, jiaqiyan@google.com, tony.luck@intel.com, Jon.Grimm@amd.com, dave.hansen@linux.intel.com, rafael@kernel.org, lenb@kernel.org, naoya.horiguchi@nec.com, james.morse@arm.com, jthoughton@google.com, somasundaram.a@hpe.com, erdemaktas@google.com, pgonda@google.com, duenwen@google.com, mike.malvestuto@intel.com Subject: Re: [PATCH v2 04/10] cxl/memscrub: Add CXL device patrol scrub control feature Message-ID: <202311221736.XNNZPX0U-lkp@intel.com> References: <20231121101844.1161-5-shiju.jose@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121101844.1161-5-shiju.jose@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.7-rc2 next-20231122] [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/shiju-jose-huawei-com/cxl-mbox-Add-GET_SUPPORTED_FEATURES-mailbox-command/20231121-182247 base: linus/master patch link: https://lore.kernel.org/r/20231121101844.1161-5-shiju.jose%40huawei.com patch subject: [PATCH v2 04/10] cxl/memscrub: Add CXL device patrol scrub control feature config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20231122/202311221736.XNNZPX0U-lkp@intel.com/config) compiler: arceb-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311221736.XNNZPX0U-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/202311221736.XNNZPX0U-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/cxl/core/memscrub.c:241:5: error: redefinition of 'cxl_mem_patrol_scrub_init' 241 | int cxl_mem_patrol_scrub_init(struct cxl_memdev *cxlmd) | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/cxl/core/memscrub.c:13: drivers/cxl/cxlmem.h:990:19: note: previous definition of 'cxl_mem_patrol_scrub_init' with type 'int(struct cxl_memdev *)' 990 | static inline int cxl_mem_patrol_scrub_init(struct cxl_memdev *cxlmd) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/cxl/core/memscrub.c:169:12: warning: 'cxl_mem_ps_set_attrbs' defined but not used [-Wunused-function] 169 | static int cxl_mem_ps_set_attrbs(struct device *dev, | ^~~~~~~~~~~~~~~~~~~~~ vim +/cxl_mem_patrol_scrub_init +241 drivers/cxl/core/memscrub.c 240 > 241 int cxl_mem_patrol_scrub_init(struct cxl_memdev *cxlmd) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki