All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hui Wang <hui.wang@canonical.com>
To: Jaroslav Kysela <perex@perex.cz>,
	alsa-devel@alsa-project.org, tiwai@suse.de,
	kai.vehmanen@linux.intel.com
Subject: Re: [RFC][PATCH v5 1/2] alsa: jack: implement software jack injection via debugfs
Date: Fri, 22 Jan 2021 21:41:50 +0800	[thread overview]
Message-ID: <69c0ba78-91f2-efbb-2158-5b66e060dfed@canonical.com> (raw)
In-Reply-To: <c639b7df-d785-892b-1654-af5c8829ed52@perex.cz>

On 1/22/21 4:40 PM, Jaroslav Kysela wrote:
> Dne 22. 01. 21 v 9:21 Hui Wang napsal(a):
>
>> +	len = scnprintf(buf, 256, "0x%04x", mask_bits);
> Use sizeof(buf) on all appropriate places. Also never use user space 'count'
> variable for the stack buffer size.
>
> 				Jaroslav

Oh, right, will use sizeof(buf).  Will not use 'count' for stack buffer 
size.

Thanks,

Hui.

>

  reply	other threads:[~2021-01-22 13:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-22  8:21 [RFC][PATCH v5 0/2] audio jack software injection Hui Wang
2021-01-22  8:21 ` [RFC][PATCH v5 1/2] alsa: jack: implement software jack injection via debugfs Hui Wang
2021-01-22  8:40   ` Jaroslav Kysela
2021-01-22 13:41     ` Hui Wang [this message]
2021-01-22  8:21 ` [RFC][PATCH v5 2/2] alsa: jack: add document for sound jack injection Hui Wang

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=69c0ba78-91f2-efbb-2158-5b66e060dfed@canonical.com \
    --to=hui.wang@canonical.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=kai.vehmanen@linux.intel.com \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.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.