[PATCH v2] of: Fix of platform build on powerpc due to bad of disaply code

Rob Herring robh+dt at kernel.org
Fri Jan 20 02:18:09 AEDT 2023


On Thu, Jan 19, 2023 at 3:53 AM Michal Suchanek <msuchanek at suse.de> wrote:
>
> The commit 2d681d6a23a1 ("of: Make of framebuffer devices unique")
> breaks build because of wrong argument to snprintf. That certainly
> avoids the runtime error but is not the intended outcome.
>
> Also use standard device name format of-display.N for all created
> devices.
>
> Fixes: 2d681d6a23a1 ("of: Make of framebuffer devices unique")
> Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> ---
> v2: Update the device name format
> ---
>  drivers/of/platform.c | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)

As this is the only fix I have queued, if you respin, send the
original fix with fixes squashed.

Rob


More information about the Linuxppc-dev mailing list