From: Jeff Garzik <jeff@garzik.org>
To: akpm@linux-foundation.org
Cc: netdev@vger.kernel.org, khali@linux-fr.org, osstklei@de.ibm.com,
themann@de.ibm.com
Subject: Re: [patch 03/10] strlcpy is smart enough
Date: Thu, 29 Mar 2007 08:19:14 -0400 [thread overview]
Message-ID: <460BAEC2.1090104@garzik.org> (raw)
In-Reply-To: <200703270547.l2R5lM49008257@shell0.pdx.osdl.net>
akpm@linux-foundation.org wrote:
> From: Jean Delvare <khali@linux-fr.org>
>
> strlcpy already accounts for the trailing zero in its length
> computation, so there is no need to substract one to the buffer size.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Jan-Bernd Themann <themann@de.ibm.com>
> Cc: Thomas Klein <osstklei@de.ibm.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/net/ehea/ehea_ethtool.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
applied 3-5
prev parent reply other threads:[~2007-03-29 12:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 5:47 [patch 03/10] strlcpy is smart enough akpm
2007-03-29 12:19 ` Jeff Garzik [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=460BAEC2.1090104@garzik.org \
--to=jeff@garzik.org \
--cc=akpm@linux-foundation.org \
--cc=khali@linux-fr.org \
--cc=netdev@vger.kernel.org \
--cc=osstklei@de.ibm.com \
--cc=themann@de.ibm.com \
/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.