All of lore.kernel.org
 help / color / mirror / Atom feed
From: sjg at google.com <sjg@google.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy()
Date: Tue, 12 Sep 2017 03:54:40 -0700	[thread overview]
Message-ID: <CAPnjgZ32kJcsGY9P_O_k=W1bhge+u8aTHbGmPTXTC7x6zhwwEg@mail.gmail.com> (raw)
In-Reply-To: <CAEUhbmWgFoekmdedTXVWcZGdGRUsG_zyy+36aCGKJ_4uKSXH6Q@mail.gmail.com>

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!

      parent reply	other threads:[~2017-09-12 10:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-02 18:12 [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy() Simon Glass
2017-08-02 18:12 ` [U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree' Simon Glass
2017-08-02 22:54 ` [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy() Bin Meng
2017-09-12 10:54 ` [U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree' sjg at google.com
2017-09-12 10:54 ` sjg at google.com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPnjgZ32kJcsGY9P_O_k=W1bhge+u8aTHbGmPTXTC7x6zhwwEg@mail.gmail.com' \
    --to=sjg@google.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.