All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ALSA: trivial corrections
@ 2021-08-12 22:59 Pierre-Louis Bossart
  2021-08-12 22:59 ` [PATCH 1/2] ALSA: core: control_led: use strscpy instead of strlcpy Pierre-Louis Bossart
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pierre-Louis Bossart @ 2021-08-12 22:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, Pierre-Louis Bossart

One typo and one deprecated function to be replaced.

Pierre-Louis Bossart (2):
  ALSA: core: control_led: use strscpy instead of strlcpy
  ALSA: hda_audio_ext: fix kernel-doc

 include/sound/hdaudio_ext.h | 2 +-
 sound/core/control_led.c    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.25.1


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

* [PATCH 1/2] ALSA: core: control_led: use strscpy instead of strlcpy
  2021-08-12 22:59 [PATCH 0/2] ALSA: trivial corrections Pierre-Louis Bossart
@ 2021-08-12 22:59 ` Pierre-Louis Bossart
  2021-08-12 22:59 ` [PATCH 2/2] ALSA: hda_audio_ext: fix kernel-doc Pierre-Louis Bossart
  2021-08-13  6:05 ` [PATCH 0/2] ALSA: trivial corrections Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Pierre-Louis Bossart @ 2021-08-12 22:59 UTC (permalink / raw)
  To: alsa-devel
  Cc: Kai Vehmanen, tiwai, Pierre-Louis Bossart, Ranjani Sridharan,
	Paul Olaru, Bard Liao

strlcpy is deprecated, use its safe replacement

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Reviewed-by: Paul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
---
 sound/core/control_led.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/core/control_led.c b/sound/core/control_led.c
index 764058cc345d..a95332b2b90b 100644
--- a/sound/core/control_led.c
+++ b/sound/core/control_led.c
@@ -564,7 +564,7 @@ static ssize_t set_led_id(struct snd_ctl_led_card *led_card, const char *buf, si
 			else {
 				for (; *s >= ' '; s++);
 				*s = '\0';
-				strlcpy(id.name, buf2, sizeof(id.name));
+				strscpy(id.name, buf2, sizeof(id.name));
 			}
 			break;
 		}
-- 
2.25.1


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

* [PATCH 2/2] ALSA: hda_audio_ext: fix kernel-doc
  2021-08-12 22:59 [PATCH 0/2] ALSA: trivial corrections Pierre-Louis Bossart
  2021-08-12 22:59 ` [PATCH 1/2] ALSA: core: control_led: use strscpy instead of strlcpy Pierre-Louis Bossart
@ 2021-08-12 22:59 ` Pierre-Louis Bossart
  2021-08-13  6:05 ` [PATCH 0/2] ALSA: trivial corrections Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Pierre-Louis Bossart @ 2021-08-12 22:59 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, Péter Ujfalusi, Pierre-Louis Bossart, Kai Vehmanen,
	Ranjani Sridharan

Add missing @

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
---
 include/sound/hdaudio_ext.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h
index a125e3814b58..375581634143 100644
--- a/include/sound/hdaudio_ext.h
+++ b/include/sound/hdaudio_ext.h
@@ -51,7 +51,7 @@ enum hdac_ext_stream_type {
  * @decoupled: stream host and link is decoupled
  * @link_locked: link is locked
  * @link_prepared: link is prepared
- * link_substream: link substream
+ * @link_substream: link substream
  */
 struct hdac_ext_stream {
 	struct hdac_stream hstream;
-- 
2.25.1


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

* Re: [PATCH 0/2] ALSA: trivial corrections
  2021-08-12 22:59 [PATCH 0/2] ALSA: trivial corrections Pierre-Louis Bossart
  2021-08-12 22:59 ` [PATCH 1/2] ALSA: core: control_led: use strscpy instead of strlcpy Pierre-Louis Bossart
  2021-08-12 22:59 ` [PATCH 2/2] ALSA: hda_audio_ext: fix kernel-doc Pierre-Louis Bossart
@ 2021-08-13  6:05 ` Takashi Iwai
  2 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2021-08-13  6:05 UTC (permalink / raw)
  To: Pierre-Louis Bossart; +Cc: alsa-devel

On Fri, 13 Aug 2021 00:59:02 +0200,
Pierre-Louis Bossart wrote:
> 
> One typo and one deprecated function to be replaced.
> 
> Pierre-Louis Bossart (2):
>   ALSA: core: control_led: use strscpy instead of strlcpy
>   ALSA: hda_audio_ext: fix kernel-doc

Applied both patches now.  Thanks.


Takashi

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

end of thread, other threads:[~2021-08-13  6:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-12 22:59 [PATCH 0/2] ALSA: trivial corrections Pierre-Louis Bossart
2021-08-12 22:59 ` [PATCH 1/2] ALSA: core: control_led: use strscpy instead of strlcpy Pierre-Louis Bossart
2021-08-12 22:59 ` [PATCH 2/2] ALSA: hda_audio_ext: fix kernel-doc Pierre-Louis Bossart
2021-08-13  6:05 ` [PATCH 0/2] ALSA: trivial corrections 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.