Hi Daniel,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on 10b82d5176488acee2820e5a2cf0f2ec5c3488b6]
url:
https://github.com/0day-ci/linux/commits/Daniel-Latypov/kunit-introduce-c...
base: 10b82d5176488acee2820e5a2cf0f2ec5c3488b6
config: i386-randconfig-s002-20200917 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-201-g24bdaac6-dirty
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> lib/kunit/common-mocks.c:105:1: sparse: sparse: symbol
'to_mock_u8_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:106:1: sparse: sparse: symbol 'to_mock_u16_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:107:1: sparse: sparse: symbol 'to_mock_u32_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:108:1: sparse: sparse: symbol 'to_mock_u64_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:109:1: sparse: sparse: symbol 'to_mock_char_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:110:1: sparse: sparse: symbol
'to_mock_uchar_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:111:1: sparse: sparse: symbol
'to_mock_schar_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:112:1: sparse: sparse: symbol
'to_mock_short_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:113:1: sparse: sparse: symbol
'to_mock_ushort_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:114:1: sparse: sparse: symbol 'to_mock_int_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:115:1: sparse: sparse: symbol 'to_mock_uint_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:116:1: sparse: sparse: symbol 'to_mock_long_matcher'
was not declared. Should it be static?
> lib/kunit/common-mocks.c:117:1: sparse: sparse: symbol
'to_mock_ulong_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:118:1: sparse: sparse: symbol
'to_mock_longlong_matcher' was not declared. Should it be static?
> lib/kunit/common-mocks.c:119:1: sparse: sparse: symbol
'to_mock_ulonglong_matcher' was not declared. Should it be static?
lib/kunit/common-mocks.c:119:1: sparse: sparse: too many warnings
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org