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