[U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy()

sjg at google.com sjg at google.com
Tue Sep 12 10:54:40 UTC 2017


On Thu, Aug 3, 2017 at 2:12 AM, Simon Glass <sjg at chromium.org> wrote:
> We can use printf() to limit the string width. Adjust the code to do this
> instead of using strlcpy() which is a bit clumbsy.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to drop use of strlcpy()
>
>  drivers/core/dump.c | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
Tested-by: Bin Meng <bmeng.cn at gmail.com>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list