linux/tools/testing/selftests/alsa
Colin Ian King 645e583d26 selftests: ALSA: Fix fclose on an already fclosed file pointer
In the case where a sysfs file cannot be opened the error return path
fcloses file pointer fpl, however, fpl has already been closed in the
previous stanza. Fix the double fclose by removing it.

Fixes: 10b98a4db1 ("selftests: ALSA: Add test for the 'pcmtest' driver")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230712140122.457206-1-colin.i.king@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2023-07-13 08:08:08 +02:00
..
conf.d kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
.gitignore kselftest/alsa: Add a .gitignore for the newly added PCM test 2022-11-25 16:50:52 +01:00
alsa-local.h kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
conf.c kselftest/alsa: pcm - move more configuration to configuration files 2023-01-02 15:07:35 +01:00
Makefile selftests: ALSA: Add test for the 'pcmtest' driver 2023-06-07 13:09:03 +02:00
mixer-test.c kselftest/alsa - mixer-test: Log values associated with event issues 2023-03-24 07:49:47 +01:00
pcm-test.c selftests: alsa: pcm-test: Fix compiler warnings about the format 2023-06-05 09:15:42 +02:00
pcm-test.conf kselftest/alsa: pcm - Add more coverage by default 2023-01-02 15:08:24 +01:00
test-pcmtest-driver.c selftests: ALSA: Fix fclose on an already fclosed file pointer 2023-07-13 08:08:08 +02:00