Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp702749lqp; Thu, 21 Mar 2024 12:54:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRnzFRQfkcfF6f0hZj2phEfX/1S8jTMhmbW+SwlFi4xrTVeUA5Cw5FLrV9dKn59kIhk+f1SOTPyVxSM90ZP94WoBndv+atYfzqDS9wIA== X-Google-Smtp-Source: AGHT+IEbLpOYLge6LtLMMCq4fql+2MP0LgWMlSxI2XoR1w36EY5h1Qllw+FYaE2nIzyZkiZN0HS2 X-Received: by 2002:a92:874a:0:b0:366:c49f:9f9b with SMTP id d10-20020a92874a000000b00366c49f9f9bmr590016ilm.28.1711050848399; Thu, 21 Mar 2024 12:54:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711050848; cv=pass; d=google.com; s=arc-20160816; b=EVQi5ijWV1135MD8cUEesPnujlMovgRnGxhXtTHaMRzX4XrltJeifJthbpB2Wj66+c clD1kzAkf1aiOGFC+sQRvfkHhhiDsnennHQ2Yd8RrwltMK4DuPhuBnCm0o4s3CRuTbHD ptFsz4m9PxhFa/T3dEQqCXd0R6ktEbSNV51Grcr6g6Mj221sw7dq+vtxiwEBANwAmbRt CuQiJRFbFYwk6htv8IFswxP/mBfQp/uGjV5pbeqRQgJqFni7h6izZLRLmG3yCmm1FYR9 3IZE3Fd5wGdBpPvnuKcLZhJNe739if8OfTFdfF2WvdhMjGD+wXSfD6r5iaLFgpFW7vzL ySqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dtPToifjyluff50NkuyUbTFINHVzjGrbN+syVjI12hQ=; fh=B8yh5thh0kYb3pogeEUjOKz7kVa2ZpoJjzdJO241QvA=; b=y8OfdmacuO54KnsNWn4NpCS8YRDc8T33saDWYH/yX5oBOKm2X3rlivdd9nfI87vvF6 r+zL3cLMPcb5+Tb1Edjr/iLRxkeQCKFfKXucg2BKQtXRwAh3igUEm46GRwn6gNzWclj7 oGxMz8TOdwWWvWSOGGRTqpMtXQ8tzmXC+K9FQx/8j4ZrbXlA9PdRpCCLlBthK38wowOz DlUNKGjwhajY54o/7wrWkDqc0IsGMnAmcjojZQo/spxCY69TA9mEm5uZfuplOtUIRh8p 1WyG5nDMNxXPKgQA6/OAceOmzazxVBXNdhzCzzvlnpjiT/EPTarbVItMQz8xcWj0N0fJ Qx4A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fAQkvuRD; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-110616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q16-20020a635c10000000b005e84b855f9fsi396123pgb.728.2024.03.21.12.54.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 12:54:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=fAQkvuRD; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-110616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E8E57B225A8 for ; Thu, 21 Mar 2024 19:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8C1E134CCB; Thu, 21 Mar 2024 19:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="fAQkvuRD" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23E5E13442E; Thu, 21 Mar 2024 19:53:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711050786; cv=none; b=euEIkqb8bwXmBY4j5ma2CSqooJH8HELWMgcLo+qCKIchjc+5NjyWlff43hKL9zuJP1jy698d8vuQBGnJwWD5JT3Iq02Q2YZJkz5tCawE8vLZnTiVvRpCw4csMd/DqPcu5UDh4qMGgstQ+otidfuaSEThD1wIsJHT3EYgIht554Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711050786; c=relaxed/simple; bh=0AZsgEksMv0v7XeGuddRbuorgH0+GV74G/W/bjtGFUk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TFEq4UyELipmVWSVB3vKyvultijybfVXuljkEe1sexYoBPhIP8HJ+Oy0QCz+qY37TT1sKioemSUqu0rhjVMYDubO2p9r2i7nuGRJ80skYlLv5xk/+RabIlRJ9i3rdURR8eejC5Zu/Q6TMBPfPXcWqXhTdhXVm/i3Pi4hvsiu9XI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=fAQkvuRD; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711050784; x=1742586784; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0AZsgEksMv0v7XeGuddRbuorgH0+GV74G/W/bjtGFUk=; b=fAQkvuRDDmdDmsMAIroOiMv6OsnNxMz3hyC8F8AcgZU8XtcWtLIFJKb0 qA8JbWd+5F6Jew5GtwqNmVuuO29QcoVfVMPyeGojjKVP1cUaaRrJlh3zE r8BrT/17fttRgc0u9kJuPvf3yg0R+Vt1Bs+A5O2gOTjsokFYl1bwyiZUe wkkHR96qNlCfW1f2RnpTzzOVIRUETzcyAeP+6jb0pa6tr8HabCylCr58L riCb3uyagLntFgbtWqA9EXQfUvx6omLdniF0ANzOMBQfCI4EQDqV3kjjJ 0Dp6VzhGWbjM3rtXM5JpYNqN0Uua5vzi1791aA5BUwzc9cRs8bYZxfMPI A==; X-IronPort-AV: E=McAfee;i="6600,9927,11020"; a="28541701" X-IronPort-AV: E=Sophos;i="6.07,143,1708416000"; d="scan'208";a="28541701" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2024 12:53:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,143,1708416000"; d="scan'208";a="19285155" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 21 Mar 2024 12:52:59 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rnOTA-000Jjz-2l; Thu, 21 Mar 2024 19:52:56 +0000 Date: Fri, 22 Mar 2024 03:52:32 +0800 From: kernel test robot To: Sudan Landge , tytso@mit.edu, Jason@zx2c4.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, sathyanarayanan.kuppuswamy@linux.intel.com, thomas.lendacky@amd.com, dan.j.williams@intel.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, graf@amazon.de, dwmw@amazon.co.uk, bchalios@amazon.es, xmarcalx@amazon.co.uk Subject: Re: [PATCH v2 4/4] virt: vmgenid: add support for devicetree bindings Message-ID: <202403220322.EGtpD4Jw-lkp@intel.com> References: <20240321025105.53210-5-sudanl@amazon.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240321025105.53210-5-sudanl@amazon.com> Hi Sudan, kernel test robot noticed the following build warnings: [auto build test WARNING on a4145ce1e7bc247fd6f2846e8699473448717b37] url: https://github.com/intel-lab-lkp/linux/commits/Sudan-Landge/virt-vmgenid-rearrange-code-to-make-review-easier/20240321-105317 base: a4145ce1e7bc247fd6f2846e8699473448717b37 patch link: https://lore.kernel.org/r/20240321025105.53210-5-sudanl%40amazon.com patch subject: [PATCH v2 4/4] virt: vmgenid: add support for devicetree bindings config: x86_64-randconfig-123-20240321 (https://download.01.org/0day-ci/archive/20240322/202403220322.EGtpD4Jw-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240322/202403220322.EGtpD4Jw-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/202403220322.EGtpD4Jw-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/virt/vmgenid.c:153:43: sparse: sparse: cast removes address space '__iomem' of expression vim +/__iomem +153 drivers/virt/vmgenid.c 133 134 static int vmgenid_add_of(struct device *dev, struct vmgenid_state *state) 135 { 136 #ifdef CONFIG_OF 137 struct resource res; 138 int ret = 0; 139 140 if (of_address_to_resource(dev->of_node, 0, &res)) { 141 dev_err(dev, "Failed to get resources from device tree"); 142 ret = -EINVAL; 143 goto out; 144 } 145 146 if (!__request_mem_region(res.start, resource_size(&res), 147 "vmgenid", IORESOURCE_EXCLUSIVE)) { 148 dev_err(dev, "Failed to request mem region"); 149 ret = -EINVAL; 150 goto out; 151 } 152 > 153 ret = setup_vmgenid_state(state, (u8 *)of_iomap(dev->of_node, 0)); 154 if (ret) 155 goto out; 156 157 state->irq = irq_of_parse_and_map(dev->of_node, 0); 158 dev->driver_data = state; 159 160 if (request_irq(state->irq, vmgenid_of_irq_handler, 161 IRQF_SHARED, "vmgenid", dev) < 0) { 162 dev_err(dev, "request_irq failed"); 163 dev->driver_data = NULL; 164 ret = -EINVAL; 165 goto out; 166 } 167 168 out: 169 return ret; 170 #else 171 (void)dev; 172 (void)state; 173 return -EINVAL; 174 #endif 175 } 176 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki