From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EEA2126461D for ; Mon, 28 Apr 2025 11:11:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745838708; cv=none; b=VbXkASPPLuRmkHt2IUQOqgPiL61FYxzl2+CLh+iBTttBGyKlT07I2cutS4WWJNBprXfCyWD4J1R5QkIcDc7e/YpLYZleZSPmgUfz/F0x83q3d86PJSFOnPn8kEhtROnStSz56BXW7LY6zz4ocNnRkCkgHIjs1reKFOdQ0UxwquA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745838708; c=relaxed/simple; bh=Veuk+Z/sR4H/xEb/EwiI6wtFnWURIfFvrkb6odssbcY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b7DBzGhE1dcosTxv8jJsObJvzwUcCtx6xgnaf/mLQZ9eMZ+1bwdBR8ajrd7bONz4v9f/PB4FrTyFwXdsCDHZC/+qtpurF5wJLubHOSAnZsmu6UQB9CJTtRL/NxhngeV2NSn5rKVr8jtlHX7Rn2jRrwAxMHCV+xHNzMeqjeWM7Qs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b=rfRFviFJ; arc=none smtp.client-ip=85.214.250.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="rfRFviFJ" Received: from 8bytes.org (p4ffe03ae.dip0.t-ipconnect.de [79.254.3.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id BC9F8470B7; Mon, 28 Apr 2025 13:11:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1745838705; bh=Veuk+Z/sR4H/xEb/EwiI6wtFnWURIfFvrkb6odssbcY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rfRFviFJT9ccUMEDhTzc9B++u4Pr5H0EL3t3VfgeVKGXQ8RrEh5S0KxD2Dhq9xug/ tHWt+hwHh0cnIdaIS0zwo/Kkc8uQeNCUQ2dz8XcNXVLlHnWQkzaUeHPHJR7ea93huV BBLNPqoZUgqaRrWoc3bxmCNgkApYyuGeTG3bRPggD169NN4Z845VzaOXFILpmRXUWv bFY4iuMo5NjMycRxlzypzkDfjVaBQ6Eg78ETnJTGi2KymeCCTqs1lvpNS54/V1a5od 3SR+jOTguk26n3yfFXMlaSLV/h1WAdfCvaJ00HVnwsdEB+zKQ6v85aaikKpRyRBv7E 45xCYAe9Y+XSw== Date: Mon, 28 Apr 2025 13:11:44 +0200 From: Joerg Roedel To: Chen Ni Cc: sven@svenpeter.dev, j@jannau.net, alyssa@rosenzweig.io, neal@gompa.dev, will@kernel.org, robin.murphy@arm.com, asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iommu: apple-dart: Remove unnecessary NULL check before free_io_pgtable_ops() Message-ID: References: <20250422072511.1334243-1-nichen@iscas.ac.cn> 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: <20250422072511.1334243-1-nichen@iscas.ac.cn> On Tue, Apr 22, 2025 at 03:25:11PM +0800, Chen Ni wrote: > free_io_pgtable_ops() checks for NULL pointers internally. > Remove unneeded NULL check here. > > Signed-off-by: Chen Ni > --- > drivers/iommu/apple-dart.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied, thanks.