From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg at google.com Date: Tue, 12 Sep 2017 03:54:40 -0700 Subject: [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy() In-Reply-To: References: <20170802181202.52645-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Aug 3, 2017 at 2:12 AM, Simon Glass 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 > --- > > 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 Tested-by: Bin Meng Applied to u-boot-dm, thanks!