On Thu, Aug 15, 2024 at 03:02:01AM +0000, Ding, Shenghao wrote: > > From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > Sent: Monday, August 12, 2024 11:52 PM > > On Sat, Aug 03, 2024 at 11:27:14AM +0800, Shenghao Ding wrote: ... > > > + 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()? > strscpy seemed not support 2 params. Do you mean strcpy? 1. It does. 2. No, I meant strscpy(). -- With Best Regards, Andy Shevchenko