lkml.org 
[lkml]   [2020]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v11 02/11] lib/test_linear_ranges: add a test for the 'linear_ranges'
Date
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
\
 
 \ /
  Last update: 2020-05-08 15:10    [W:0.058 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site