On Fri, 31 May 2024 07:50:33 +0200, Paul Menzel wrote: > > Dear Linux folks, > > > Running the ALSA kselftests with Linux 6.10-rc1, `mixer-test` shows > ten failures: > > # Totals: pass:24 fail:0 xfail:0 xpass:0 skip:11 error:0 > > These are: > > not ok 5 write_invalid.0.40 > not ok 11 write_valid.0.39 > not ok 18 write_valid.0.38 > not ok 25 write_valid.0.37 > not ok 201 write_invalid.0.12 > not ok 208 write_invalid.0.11 > not ok 264 write_invalid.0.3 > not ok 271 write_invalid.0.2 > not ok 278 write_invalid.0.1 > not ok 285 write_invalid.0.0
Through a quick look, those are no real "failures". It'd be more preferable if the driver returns an error for invalid values, but currently it's up to drivers how to deal with them, and some accept as is but with correction of the values internally. They are shown as "skips" in the summary above you showed, after all. A more strict check can be enabled by a kconfig option CONFIG_SND_CTL_INPUT_VALIDATION=y generically. thanks, Takashi