[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167509742194.2793991.9757556857543301296.robh@kernel.org>
Date: Mon, 30 Jan 2023 10:50:34 -0600
From: Rob Herring <robh@...nel.org>
To: Michal Suchanek <msuchanek@...e.de>
Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE"
<devicetree@...r.kernel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Frank Rowand <frowand.list@...il.com>,
linuxppc-dev@...ts.ozlabs.org,
open list <linux-kernel@...r.kernel.org>,
Rob Herring <robh+dt@...nel.org>,
"Erhard F." <erhard_f@...lbox.org>,
Javier Martinez Canillas <javierm@...hat.com>
Subject: Re: [PATCH v3] of: Make of framebuffer devices unique
On Fri, 20 Jan 2023 19:09:57 +0100, Michal Suchanek wrote:
> Since Linux 5.19 this error is observed:
>
> sysfs: cannot create duplicate filename '/devices/platform/of-display'
>
> This is because multiple devices with the same name 'of-display' are
> created on the same bus.
>
> Update the code to create numbered device names for the non-boot
> disaplay.
>
> cc: linuxppc-dev@...ts.ozlabs.org
> References: https://bugzilla.kernel.org/show_bug.cgi?id=216095
> Fixes: 52b1b46c39ae ("of: Create platform devices for OF framebuffers")
> Reported-by: Erhard F. <erhard_f@...lbox.org>
> Suggested-by: Thomas Zimmermann <tzimmermann@...e.de>
> Signed-off-by: Michal Suchanek <msuchanek@...e.de>
> ---
> v3:
> - merge fix into original patch
> - Update the device name format
> - add missing const
> - do not continue with iterating display devices when formatting device
> name fails
> ---
> drivers/of/platform.c | 13 +++++++++++--
> 1 file changed, 11 insertions(+), 2 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists