
12 Sep
2017
12 Sep
'17
12:54 p.m.
On Thu, Aug 3, 2017 at 2:12 AM, Simon Glass sjg@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@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@gmail.com Tested-by: Bin Meng bmeng.cn@gmail.com
Applied to u-boot-dm, thanks!