Re: [PATCH] kselftest: alsa: Use private alsa-lib configuration in mixer test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08. 12. 21 15:14, Mark Brown wrote:
On Wed, Dec 08, 2021 at 10:55:41PM +0900, Takashi Sakamoto wrote:

I'm not positively for the patch since it can take developers puzzled due to
the symbol dependency newly introduced in unreleased version of alsa-lib.

Shouldn't the version check and local definition avoid that issue - if
the version of alsa-lib doesn't have snd_config_load_string() then we'll
use a locally defined version of snd_config_load_string() and not depend
on the alsa-lib symbol?

The 1.2.6 library is released. The goal was to allow to run code with the older libraries until the new version is more spread. It's just one #if in the source code and a 1:1 code copy. The kselftest packagers should define the proper package dependencies for the downgrade possibility - it's distribution specific thing.

Anyway, the dynamic linker will print the correct error when the user tries to run the test program compiled using the new library on the system with the older library.

						Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux