Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp803168rdf; Tue, 21 Nov 2023 18:03:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2XiuEHO7t748F0oPdSgxpOXmh6Kf0EiaaiZV2aw1v+V5CBpYirQraDctVbqd7cyBuyOAV X-Received: by 2002:a9d:734f:0:b0:6bd:603:797f with SMTP id l15-20020a9d734f000000b006bd0603797fmr1177294otk.37.1700618633123; Tue, 21 Nov 2023 18:03:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700618633; cv=none; d=google.com; s=arc-20160816; b=tVzvyMrGcVDXcBAf0eXlfTxqC/bVcK4PUKo/ae7YkQ3rMvoM+dqaYIN43MY7c/rL1v l9Dr0AieuneuVIKZKjrAV0Tsv8zy0u6GZsSco6bRRUoa0P3kdQE0kiRhKK5/IQA7DXHM Kmv1vZrzHV+i0KLkVK1rDafWgC3209foiw0ZccSFdgQLR4cSlU5iUXZhQ2mqqbek7uFg SO6wUbJ4r0ISI1WaJKZcVqSRF8dALLJWK3Ssx575CoYZiBuj5fuWJhBH8OD7E39P/YFZ KaEdRiMM5bU74bmZFzdksn3whQb4hwPQgiraQCUvFtEGDGfF3qqiHvoVXhhlhutQ0QzX NxiA== 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=gu4VgnOmoCqQaCbicUUK9/LSiofgC6P7ffTmxW3IFKE=; fh=Aen4A2z05p9aVbUkiOuma7LyNiYRCB6qls5LmHyzm4I=; b=vBIJv9qXNI3BQIcfkQrkW2wzBGILm6eZni/OXwGJX4SUW09Pw/hRc4euH792rd70at PfuMzU800HMPsuOQcwoddNaAkDyvj3OZcNkhvwzweCAhrKMJqT0bg9u0diD0Q0Jft+M1 xqtQvQx0Bi8rggsbwV+IFPfK72ab7dcCosq+q6igAMrekX9hM8ZrkP560imXIDcxKPGt uODjp4ugnlpr8lpzYLCQTneKN8sqg1nsQQJDIaXhNKufcFkmRmpQ2zQaDbpYemA09vZf JT+mkj7pVisyJ/cMNJB3kS3TuXYsJRBxfSdbw/rs9pQthZGzpkylhKS8w2IjiNL6dcsZ aqsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hgPH2iHm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id u22-20020a634716000000b005ac61b76914si11716007pga.93.2023.11.21.18.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 18:03:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hgPH2iHm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 52DD38026899; Tue, 21 Nov 2023 18:03:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229775AbjKVCD1 (ORCPT + 99 others); Tue, 21 Nov 2023 21:03:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjKVCD0 (ORCPT ); Tue, 21 Nov 2023 21:03:26 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 077AA181; Tue, 21 Nov 2023 18:03:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700618603; x=1732154603; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KmomHtCj6nESx87+Js1u9Z2YNV0lNh6hqZAaci012Sw=; b=hgPH2iHmC+pVtObyZEPpsxJcqLdritY6qmGi58pBpqhNQfaEyc5hcU0W E1hdhI/9jIkifl3K3TpxE1XKaEH5HlznuQFl6QsLY5TOhwnhguG3rc1nt xi5Xa0hIjW9x/zg8WIIDL/xs2LMvn3xZSybAZuWmFVendtYIuDeiY2zta /LmEROeZdSOrbWwMtGTzjQd6ovHB1Nt9liu0I7EZknJqv0zMeZih5zQiB M6/hViRgJ2FtlAys1qv0XNjCHmoghrFXx0ItmLjTKFBRiexpCLTXvkcEF 3kynO6qMuRy72/YZ17uK8IvTnOMahxh7HFisrUeaaeTlQbBC/D26C65ex w==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="372138332" X-IronPort-AV: E=Sophos;i="6.04,217,1695711600"; d="scan'208";a="372138332" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 18:03:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.04,217,1695711600"; d="scan'208";a="14720458" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by orviesa001.jf.intel.com with ESMTP; 21 Nov 2023 18:03:14 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r5ca8-0008WH-1J; Wed, 22 Nov 2023 02:03:12 +0000 Date: Wed, 22 Nov 2023 09:59:32 +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: llvm@lists.linux.dev, 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 06/10] memory: scrub: Add scrub driver supports configuring memory scrubbers in the system Message-ID: <202311220944.tcffRUl0-lkp@intel.com> References: <20231121101844.1161-7-shiju.jose@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121101844.1161-7-shiju.jose@huawei.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 18:03:50 -0800 (PST) Hi, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.7-rc2 next-20231121] [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-7-shiju.jose%40huawei.com patch subject: [PATCH v2 06/10] memory: scrub: Add scrub driver supports configuring memory scrubbers in the system config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231122/202311220944.tcffRUl0-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220944.tcffRUl0-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/202311220944.tcffRUl0-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/memory/scrub/memory-scrub.c:71:48: warning: comparison of array 'scrub_dev->name' equal to a null pointer is always false [-Wtautological-pointer-compare] if (attr == &dev_attr_name.attr && scrub_dev->name == NULL) ~~~~~~~~~~~^~~~ ~~~~ 1 warning generated. vim +71 drivers/memory/scrub/memory-scrub.c 64 65 static umode_t scrub_dev_attr_is_visible(struct kobject *kobj, 66 struct attribute *attr, int n) 67 { 68 struct device *dev = kobj_to_dev(kobj); 69 struct scrub_device *scrub_dev = to_scrub_device(dev); 70 > 71 if (attr == &dev_attr_name.attr && scrub_dev->name == NULL) 72 return 0; 73 74 return attr->mode; 75 } 76 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki