mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
selftests/alsa: make dump_config_tree() as void function
dump_config_tree() is declared to return an int, but the compiler cannot
prove that it always returns any value at all. This leads to a clang
warning, when building via:
make LLVM=1 -C tools/testing/selftests
Suggested-by: John Hubbard <jhubbard@nvidia.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240506075419.301780-1-perex@perex.cz
This commit is contained in:
parent
5e7488cdeb
commit
b9112b1795
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ static struct card_cfg_data *conf_data_by_card(int card, bool msg)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
static int dump_config_tree(snd_config_t *top)
|
||||
static void dump_config_tree(snd_config_t *top)
|
||||
{
|
||||
snd_output_t *out;
|
||||
int err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue