From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 7251C256E for ; Tue, 23 Aug 2022 14:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661263728; x=1692799728; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4lie7gCXObgs3m8jIr59zMMngmZ8Lu+4cTjSxyVLY4Q=; b=eDyy4F3TCPpAIoPxiiRiphl8Or7CVkiPCJxXlvTSBkz1n6Ve7pNgyFhe tXI12tKAocPX+WkFmrwSej9KEDgnsXZ8dxaVAQ3V7aoT7uW3xiKVDKmwx 5RHTGKD/K7V+wGKW+C9ftYYrhUBqnIctP0VUJjXSMSnoo+y4l2VIDh//5 K0G6ULGOtHlD+1DtwVojNc2bkE0i2NnCA/TIeSHTPkJVFi25t27qv1iRn M83lux+ymElvoaLJSsSPubfOwgFMvwv9SYLXUJp4kqCkNhTv0Fq0Lh/6Y 49ZpnDrzT4YmuCJsgoF7Bl+zijmj0h7UK6jcCuFMBKFscRJ2fSXpRtszw g==; X-IronPort-AV: E=McAfee;i="6500,9779,10448"; a="273447838" X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="273447838" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 07:08:47 -0700 X-IronPort-AV: E=Sophos;i="5.93,257,1654585200"; d="scan'208";a="735491062" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2022 07:08:45 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oQUaA-002T4V-1A; Tue, 23 Aug 2022 17:08:42 +0300 Date: Tue, 23 Aug 2022 17:08:42 +0300 From: Andy Shevchenko To: Jean-Philippe Brucker Cc: Joerg Roedel , virtualization@lists.linux-foundation.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Joerg Roedel , Will Deacon , Robin Murphy Subject: Re: [PATCH v1 1/1] iommu/virtio: Do not dereference fwnode in struct device Message-ID: References: <20220801165142.20898-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Aug 09, 2022 at 08:20:48AM +0100, Jean-Philippe Brucker wrote: > On Mon, Aug 01, 2022 at 07:51:42PM +0300, Andy Shevchenko wrote: > > In order to make the underneath API easier to change in the future, > > prevent users from dereferencing fwnode from struct device. > > Instead, use the specific device_match_fwnode() API for that. > Reviewed-by: Jean-Philippe Brucker Thanks! Can it be applied now? -- With Best Regards, Andy Shevchenko