From: Mengdong Lin <mengdong.lin@linux.intel.com>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>,
alsa-devel@alsa-project.org, broonie@kernel.org
Cc: tiwai@suse.de, mengdong.lin@intel.com, liam.r.girdwood@intel.com
Subject: Re: [PATCH v2 0/3] Remove support for SNDRV_CTL_ELEM_ACCESS_USER & minor fix
Date: Wed, 20 Jul 2016 12:51:31 +0800 [thread overview]
Message-ID: <578F0353.20907@linux.intel.com> (raw)
In-Reply-To: <578EFE0C.1010205@sakamocchi.jp>
On 07/20/2016 12:29 PM, Takashi Sakamoto wrote:
> Hi,
>
> On Jul 20 2016 10:52, mengdong.lin@linux.intel.com wrote:
>> From: Mengdong Lin <mengdong.lin@linux.intel.com>
>>
>> There is no ABI change in this series.
>>
>> Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER as Takashi
>> Sakamoto suggested. Also fix 2 compiler warnings and add check before
>> string cpy.
>>
>> History:
>> v2: Revise commit messages.
>>
>> Mengdong Lin (3):
>> topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER
>> topology: Add ATTRIBUTE_UNUSED for unused parameters to fix compiler
>> warning
>> topology: Check address and length before string copy
>>
>> src/topology/ctl.c | 1 -
>> src/topology/pcm.c | 8 ++++----
>> src/topology/tplg_local.h | 3 +++
>> 3 files changed, 7 insertions(+), 5 deletions(-)
>
> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
>
> But I believe that we can seek better ways for the purpose of third
> patch. For example, changing prototype of the function to return error
> code might help callers to handle errors appropriately.
>
> Anyway, thanks for the first patch.
>
The 3rd patch is to reduce checking on some optional fields elsewhere.
We could drop this patch if we add check before calling elem_copy_text()
and it will bring more code.
Thanks
Mengdong
next prev parent reply other threads:[~2016-07-20 4:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-20 1:52 [PATCH v2 0/3] Remove support for SNDRV_CTL_ELEM_ACCESS_USER & minor fix mengdong.lin
2016-07-20 1:52 ` [PATCH v2 1/3] topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER mengdong.lin
2016-07-20 1:53 ` [PATCH v2 2/3] topology: Add ATTRIBUTE_UNUSED for unused parameters to fix compiler warning mengdong.lin
2016-07-20 1:53 ` [PATCH v2 3/3] topology: Check address and length before string copy mengdong.lin
2016-07-20 4:29 ` [PATCH v2 0/3] Remove support for SNDRV_CTL_ELEM_ACCESS_USER & minor fix Takashi Sakamoto
2016-07-20 4:51 ` Mengdong Lin [this message]
2016-07-20 5:49 ` Takashi Iwai
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=578F0353.20907@linux.intel.com \
--to=mengdong.lin@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=liam.r.girdwood@intel.com \
--cc=mengdong.lin@intel.com \
--cc=o-takashi@sakamocchi.jp \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox