All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ALSA: asound.h - use SNDRV_CTL_ELEM_ID_NAME_MAXLEN
@ 2015-04-17 17:23 Vinod Koul
  2015-04-17 17:23 ` [PATCH 2/2] ASoC: intel " Vinod Koul
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Vinod Koul @ 2015-04-17 17:23 UTC (permalink / raw)
  To: alsa-devel; +Cc: liam.r.girdwood, tiwai, broonie, Vinod Koul

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 */
 };
 
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-04-21 14:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-04-21 10:52   ` Takashi Iwai
2015-04-21 14:46     ` Pierre-Louis Bossart
2015-04-21 14:49       ` Takashi Iwai

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.