[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87led1urov.wl-tiwai@suse.de>
Date: Wed, 20 Sep 2023 11:20:16 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Richard Fitzgerald <rf@...nsource.cirrus.com>
Cc: <tiwai@...e.com>, <alsa-devel@...a-project.org>,
<patches@...nsource.cirrus.com>, <linux-kernel@...r.kernel.org>,
kernel test robot <lkp@...el.com>
Subject: Re: [PATCH] ALSA: hda: cirrus_scodec: Select GPIOLIB for KUnit test
On Wed, 20 Sep 2023 11:03:38 +0200,
Richard Fitzgerald wrote:
>
> The KUnit test for cirrus_scodec uses GPIO library functions so select
> GPIOLIB in Kconfig.
>
> This fixes the ld failures on builds that didn't already select GPIOLIB.
> ld: vmlinux.o: in function `cirrus_scodec_test_gpio_get':
> sound/pci/hda/cirrus_scodec_test.c:40: undefined reference to
> `gpiochip_get_data'
> ld: vmlinux.o: in function `cirrus_scodec_test_gpio_probe':
> sound/pci/hda/cirrus_scodec_test.c:94: undefined reference to
> `gpiochip_generic_request'
> ld: sound/pci/hda/cirrus_scodec_test.c:94: undefined reference to
> `gpiochip_generic_free'
> ld: sound/pci/hda/cirrus_scodec_test.c:95: undefined reference to
> `devm_gpiochip_add_data_with_key'
>
> Signed-off-by: Richard Fitzgerald <rf@...nsource.cirrus.com>
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202309201646.NnjfKPWk-lkp@intel.com/
> Fixes: 2144833e7b41 ("ALSA: hda: cirrus_scodec: Add KUnit test")
Thanks, applied now.
Takashi
Powered by blists - more mailing lists