[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c24d5f4c9d07ea9b54692a968020147d8cfe8bcb.camel@fi.rohmeurope.com>
Date: Fri, 8 May 2020 13:08:28 +0000
From: "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To: "broonie@...nel.org" <broonie@...nel.org>
CC: "mazziesaccount@...il.com" <mazziesaccount@...il.com>,
"lgirdwood@...il.com" <lgirdwood@...il.com>,
"sre@...nel.org" <sre@...nel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v11 02/11] lib/test_linear_ranges: add a test for the
'linear_ranges'
Thanks a ton for head's up Mark!
On Fri, 2020-05-08 at 14:00 +0100, Mark Brown wrote:
> On Thu, May 07, 2020 at 09:06:08AM +0300, Matti Vaittinen wrote:
> > Add a KUnit test for the linear_ranges helper.
>
> This fails to build an x86 allmodconfig:
>
> ERROR: modpost: "linear_range_values_in_range_array"
> [lib/test_linear_ranges.ko] undefined!
> ERROR: modpost: "linear_range_get_selector_high"
> [lib/test_linear_ranges.ko] undefined!
> ERROR: modpost: "linear_range_get_selector_low_array"
> [lib/test_linear_ranges.ko] undefined!
> ERROR: modpost: "linear_range_get_value_array"
> [lib/test_linear_ranges.ko] undefined!
> make[2]: *** [/mnt/kernel/scripts/Makefile.modpost:94: __modpost]
> Error 1
> make[1]: *** [/mnt/kernel/Makefile:1319: modules] Error 2
> make: *** [Makefile:180: sub-make] Error 2
>
> The test code needs to select the library.
I'll add the select LINEAR_RANGES to KConfig and resend.
--Matti
Powered by blists - more mailing lists