On Sat, Aug 03, 2024 at 11:27:14AM +0800, Shenghao Ding wrote: > Rename dai_driver name to unify the name between TAS2563 and > TAS2781, remove unnecessary line feed, strscpy replace scnprintf. ... > + strscpy(name, "Speaker Profile Id", SNDRV_CTL_ELEM_ID_NAME_MAXLEN); > + strscpy(prog_name, "Speaker Program Id", > + SNDRV_CTL_ELEM_ID_NAME_MAXLEN); > + strscpy(conf_name, "Speaker Config Id", SNDRV_CTL_ELEM_ID_NAME_MAXLEN); Why not 2-parameter strscpy()? -- With Best Regards, Andy Shevchenko