Re: [PATCH 3/5] ALSA: control: Apply sanity check of input values for user elements

2024-06-14 Thread Mark Brown
On Fri, Jun 14, 2024 at 02:47:25PM +0200, Takashi Iwai wrote: > Although we have already a mechanism for sanity checks of input values > for control writes, it's not applied unless the kconfig > CONFIG_SND_CTL_INPUT_VALIDATION is set due to the performance reason. > Nevertheless, it still makes sen

Re: [PATCH 3/5] ALSA: control: Apply sanity check of input values for user elements

2024-06-14 Thread Jaroslav Kysela
On 14. 06. 24 14:47, Takashi Iwai wrote: Although we have already a mechanism for sanity checks of input values for control writes, it's not applied unless the kconfig CONFIG_SND_CTL_INPUT_VALIDATION is set due to the performance reason. Nevertheless, it still makes sense to apply the check for u

[PATCH 3/5] ALSA: control: Apply sanity check of input values for user elements

2024-06-14 Thread Takashi Iwai
Although we have already a mechanism for sanity checks of input values for control writes, it's not applied unless the kconfig CONFIG_SND_CTL_INPUT_VALIDATION is set due to the performance reason. Nevertheless, it still makes sense to apply the check for user elements despite of its cost, as that's