From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: Vinod Koul <vinod.koul@intel.com>, alsa-devel@alsa-project.org
Cc: liam.r.girdwood@linux.intel.com, tiwai@suse.de, broonie@kernel.org
Subject: Re: [PATCH 1/2] ALSA: asound.h - use SNDRV_CTL_ELEM_ID_NAME_MAXLEN
Date: Sun, 19 Apr 2015 13:55:46 +0900 [thread overview]
Message-ID: <55333552.9040200@sakamocchi.jp> (raw)
In-Reply-To: <1429291413-30668-1-git-send-email-vinod.koul@intel.com>
On Apr 18 2015 02:23, Vinod Koul wrote:
> we have defined SNDRV_CTL_ELEM_ID_NAME_MAXLEN as size of name array so use
> this define instead of numeric value
>
> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
> ---
> include/uapi/sound/asound.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h
> index 46145a5277fe..a45be6bdcf5b 100644
> --- a/include/uapi/sound/asound.h
> +++ b/include/uapi/sound/asound.h
> @@ -864,7 +864,7 @@ struct snd_ctl_elem_id {
> snd_ctl_elem_iface_t iface; /* interface identifier */
> unsigned int device; /* device/client number */
> unsigned int subdevice; /* subdevice (substream) number */
> - unsigned char name[44]; /* ASCII name of item */
> + unsigned char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; /* ASCII name of item */
> unsigned int index; /* index of item */
> };
I think it better to post the same patch to alsa-lib when you add some
changes to ALSA uapi headers because alsa-lib should also have the same
headers.
# I also realized that recent timestamping improvements are not still
# included in alsa-lib header.
Regards
Takashi Sakamoto
next prev parent reply other threads:[~2015-04-19 4:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 17:23 [PATCH 1/2] ALSA: asound.h - use SNDRV_CTL_ELEM_ID_NAME_MAXLEN Vinod Koul
2015-04-17 17:23 ` [PATCH 2/2] ASoC: intel " Vinod Koul
2015-04-18 7:03 ` Takashi Iwai
2015-04-18 11:59 ` Mark Brown
2015-04-18 7:02 ` [PATCH 1/2] ALSA: asound.h " Takashi Iwai
2015-04-19 4:55 ` Takashi Sakamoto [this message]
2015-04-21 10:52 ` Takashi Iwai
2015-04-21 14:46 ` Pierre-Louis Bossart
2015-04-21 14: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=55333552.9040200@sakamocchi.jp \
--to=o-takashi@sakamocchi.jp \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@intel.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.