[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176159090855.1395199.16848791379867357248.robh@kernel.org>
Date: Mon, 27 Oct 2025 13:48:30 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Saravana Kannan <saravanak@...gle.com>, devicetree@...r.kernel.org,
Dan Carpenter <dan.carpenter@...aro.org>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
andrea.porta@...e.com
Subject: Re: [PATCH] of: overlay: Avoid spurious error messages in
of_overlay_remove()
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 <dan.carpenter@...aro.org>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> 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!
Powered by blists - more mailing lists