From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 029EC322DD6; Mon, 27 Oct 2025 18:48:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761590912; cv=none; b=m0MJt81GZpFgF1aZDIay56yZ+LETLUmIEPHodg7EG3Zcr5qumf6PtpuC9GAptHCNt9RHvt76q56r6gEXxN5R7Oxcl9wnMdo07iTYinmngopBk5wPK4AiXiDMMa+Zvii8mg12f7rKA4MRTn/gz3rGvKlBG1rt30FApXr8HaVFoOE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761590912; c=relaxed/simple; bh=JyX5IiNpi+mT5A3b1mPJfwg7kWiJXFyu6cjoHIuw+Ns=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OFI1qOWDELlpMbRRTOT8B9spo/tKQG41GmrQ1mX653qXcgHc/h4VddKgoqgiDU0oU8ogN0fjkCMfUJuOtLIGUunWFUMspH1PYk1IoJUsza8ZUjhvHq+oxByS/fJKNy3vWJ/zH+j7MiQBQXbtwMWJ3PGYeMWM6/5/BFFAjiqVqJY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EEdxdewS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EEdxdewS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75F5CC4CEF1; Mon, 27 Oct 2025 18:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761590911; bh=JyX5IiNpi+mT5A3b1mPJfwg7kWiJXFyu6cjoHIuw+Ns=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EEdxdewSUd4k0K182nSh1VF2uVzRwo6dOycwlY9E34w0rGftGhsJtjg4g2i5kmVck UJLNtvMJU+BxbS9hOZQh151Vud1CGRXvsbX5KrdbPWD4juOjFZGJOLI7ad/b49/9op YAraHXS4pyXK4zLrSE9KaGnV3Um/lGWZFDLLhcZGImfhtobKtSjadbVTBDhgzSah2e 4GaLLV0BHpjZWt/TTA4RZg6PGfykteVVa56c53QbtpNLb+k8IqeNBPhUwzw8ExX0qE Q/GWATNQNOm2+mS261PsZxIMgCuS0QC3DbdvL3PcKioRZL7ZGbVK1Y0GYGV2w6xHrM EFThu4CANBp2g== Date: Mon, 27 Oct 2025 13:48:30 -0500 From: "Rob Herring (Arm)" To: Christophe JAILLET Cc: Saravana Kannan , devicetree@vger.kernel.org, Dan Carpenter , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, andrea.porta@suse.com Subject: Re: [PATCH] of: overlay: Avoid spurious error messages in of_overlay_remove() Message-ID: <176159090855.1395199.16848791379867357248.robh@kernel.org> References: 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: On Fri, 24 Oct 2025 21:50:58 +0200, Christophe JAILLET wrote: > Make of_overlay_remove() tolerate ovcs_id being 0 without logging an error. > > Suggested-by: Dan Carpenter > Signed-off-by: Christophe JAILLET > --- > This is needed for drivers/misc/rp1/rp1_pci.c where things are taken from > DT or at runtime. In the former case, ovcs_id is unused and left to 0. > Being able to tolerate such cases simplify error handling. > > This was suggested by Dan as a reply to patch [1]. > > [1]: https://lore.kernel.org/lkml/4e92a271fdb98560c4e659556a1f3e99e7d0d38e.1760987458.git.christophe.jaillet@wanadoo.fr/ > > --- > drivers/of/overlay.c | 3 +++ > 1 file changed, 3 insertions(+) > Applied, thanks!