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

Bin Meng bmeng.cn at gmail.com
Wed Aug 2 22:54:11 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>


More information about the U-Boot mailing list