kselftest: alsa: Validate values read from enumerations
Enumerations should return a value between 0 and items-1, check that this is the case. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20211217130213.3893415-3-broonie@kernel.orgSigned-off-by: Takashi Iwai <tiwai@suse.de>
Showing
Please register or sign in to comment