Home
last modified time | relevance | path

Searched hist:f47d5a4fc254e62ea5af5cbb2fc3e68901def434 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dprom_init.cdiff f47d5a4fc254e62ea5af5cbb2fc3e68901def434 Mon Jun 21 01:49:37 CDT 2021 Michael Ellerman <mpe@ellerman.id.au> powerpc/prom_init: Convert prom_strcpy() into prom_strscpy_pad()

In a subsequent patch we'd like to have something like a strscpy_pad()
implementation usable in prom_init.c.

Currently we have a strcpy() implementation with only one caller, so
convert it into strscpy_pad() and update the caller.

Reviewed-by: Daniel Axtens <dja@axtens.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210621064938.2021419-1-mpe@ellerman.id.au