All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@linuxtv.org>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Scott Alfter <salfter@ssai.us>,
	v4l-dvb-maintainer@linuxtv.org, linux-kernel@vger.kernel.org
Subject: Re: [v4l-dvb-maintainer] Re: [PATCH] new driver for TLV320AIC23B
Date: Thu, 11 May 2006 01:32:01 +0200	[thread overview]
Message-ID: <20060510233201.GA6096@linuxtv.org> (raw)
In-Reply-To: <20060510223212.GG7237@mipter.zuzino.mipt.ru>

On Thu, May 11, 2006 at 02:32:12AM +0400, Alexey Dobriyan wrote:
> On Wed, May 10, 2006 at 02:55:28PM -0700, Scott Alfter wrote:
> 
> > +	snprintf(client->name, sizeof(client->name) - 1, "tlv320aic23b");
> 
> 	snprintf(buf, sizeof(buf), ...)
> 
> is idiomatic.

better use strlcpy()

Johannes

  reply	other threads:[~2006-05-10 23:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10 21:55 [PATCH] new driver for TLV320AIC23B Scott Alfter
2006-05-10 22:32 ` Alexey Dobriyan
2006-05-10 23:32   ` Johannes Stezenbach [this message]
2006-05-10 22:42 ` [v4l-dvb-maintainer] " Hans Verkuil

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=20060510233201.GA6096@linuxtv.org \
    --to=js@linuxtv.org \
    --cc=adobriyan@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=salfter@ssai.us \
    --cc=v4l-dvb-maintainer@linuxtv.org \
    /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.