Re: [PATCH] platform/x86/intel/pmt: fix build dependency for kunit test
From: Ilpo Järvinen
Date: Mon Jul 21 2025 - 09:59:50 EST
On Mon, 14 Jul 2025 10:15:43 +0200, Arnd Bergmann wrote:
> When INTEL_PMT_TELEMETRY is in a loadable module, the discovery
> test cannot be built-in:
>
> x86_64-linux-ld: drivers/platform/x86/intel/pmt/discovery-kunit.o: in function `test_intel_pmt_get_regions_by_feature':
> discovery-kunit.c:(.text+0x29d): undefined reference to `intel_pmt_get_regions_by_feature'
> x86_64-linux-ld: discovery-kunit.c:(.text+0x2c3): undefined reference to `intel_pmt_put_feature_group'
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86/intel/pmt: fix build dependency for kunit test
commit: 5a9fffd8a533bfb2688ec69dd6d1b6e53ef1177a
--
i.