lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250818120846.347d64b1@canb.auug.org.au>
Date: Mon, 18 Aug 2025 12:08:46 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: Marie Zhussupova <marievic@...gle.com>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the kunit-next tree

Hi all,

After merging the kunit-next tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/kunit/static_stub.h:18,
                 from drivers/gpu/drm/xe/xe_bo.c:20:
drivers/gpu/drm/xe/tests/xe_bo.c:610:48: error: initialization of 'const void * (*)(struct kunit *, const void *, char *)' from incompatible pointer type 'const void * (*)(const void *, char *)' [-Wincompatible-pointer-types]
  610 |         KUNIT_CASE_PARAM(xe_ccs_migrate_kunit, xe_pci_live_device_gen_param),
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/kunit/test.h:210:38: note: in definition of macro 'KUNIT_CASE_PARAM'
  210 |                   .generate_params = gen_params, .module_name = KBUILD_MODNAME}
      |                                      ^~~~~~~~~~
drivers/gpu/drm/xe/tests/xe_bo.c:610:48: note: (near initialization for 'xe_bo_tests[0].generate_params')
  610 |         KUNIT_CASE_PARAM(xe_ccs_migrate_kunit, xe_pci_live_device_gen_param),
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/kunit/test.h:210:38: note: in definition of macro 'KUNIT_CASE_PARAM'
  210 |                   .generate_params = gen_params, .module_name = KBUILD_MODNAME}
      |                                      ^~~~~~~~~~
drivers/gpu/drm/xe/tests/xe_bo.c:611:45: error: initialization of 'const void * (*)(struct kunit *, const void *, char *)' from incompatible pointer type 'const void * (*)(const void *, char *)' [-Wincompatible-pointer-types]
  611 |         KUNIT_CASE_PARAM(xe_bo_evict_kunit, xe_pci_live_device_gen_param),
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/kunit/test.h:210:38: note: in definition of macro 'KUNIT_CASE_PARAM'
  210 |                   .generate_params = gen_params, .module_name = KBUILD_MODNAME}
      |                                      ^~~~~~~~~~
drivers/gpu/drm/xe/tests/xe_bo.c:611:45: note: (near initialization for 'xe_bo_tests[1].generate_params')
  611 |         KUNIT_CASE_PARAM(xe_bo_evict_kunit, xe_pci_live_device_gen_param),
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/kunit/test.h:210:38: note: in definition of macro 'KUNIT_CASE_PARAM'
  210 |                   .generate_params = gen_params, .module_name = KBUILD_MODNAME}
      |                                      ^~~~~~~~~~
drivers/gpu/drm/xe/tests/xe_bo.c:624:51: error: initialization of 'const void * (*)(struct kunit *, const void *, char *)' from incompatible pointer type 'const void * (*)(const void *, char *)' [-Wincompatible-pointer-types]
  624 |         KUNIT_CASE_PARAM_ATTR(xe_bo_shrink_kunit, xe_pci_live_device_gen_param,
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/kunit/test.h:223:38: note: in definition of macro 'KUNIT_CASE_PARAM_ATTR'
  223 |                   .generate_params = gen_params,                                \
      |                                      ^~~~~~~~~~
drivers/gpu/drm/xe/tests/xe_bo.c:624:51: note: (near initialization for 'xe_bo_shrink_test[0].generate_params')
  624 |         KUNIT_CASE_PARAM_ATTR(xe_bo_shrink_kunit, xe_pci_live_device_gen_param,
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/kunit/test.h:223:38: note: in definition of macro 'KUNIT_CASE_PARAM_ATTR'
  223 |                   .generate_params = gen_params,                                \
      |                                      ^~~~~~~~~~

Caused by commit

  444be9072fca ("kunit: Pass parameterized test context to generate_params()")

I have used the kunit-next tree from next-20250815 for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ