Hi Dave, kernel test robot noticed the following build warnings:
[auto build test WARNING on a6836fcbb5b22968019256025321d655b78bc49c] url: https://github.com/intel-lab-lkp/linux/commits/Dave-Airlie-via-B4-Relay/drm-amd-display-Drop-the-dead-vmid-module/20261112-114336 base: a6836fcbb5b22968019256025321d655b78bc49c patch link: https://lore.kernel.org/r/20261112-amdgpu-dc-cleanup-v1-12-0fae41718ad2%40redhat.com patch subject: [PATCH 12/19] drm/amd/display: Migrate amdgpu_dm KUnit tests off struct dc internals config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20261117/[email protected]/config) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261117/[email protected]/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_kunit_helpers.c:57:25: >> warning: cast from 'void (*)(struct dc *)' to 'kunit_action_t *' (aka 'void >> (*)(void *)') converts to incompatible function type >> [-Wcast-function-type-strict] 57 | kunit_add_action(test, (kunit_action_t *)dc_test_destroy, dc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. vim +57 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_kunit_helpers.c 50 51 struct dc *dm_kunit_alloc_dc(struct kunit *test) 52 { 53 struct dc *dc; 54 55 dc = dc_test_create(); 56 KUNIT_ASSERT_NOT_NULL(test, dc); > 57 kunit_add_action(test, (kunit_action_t *)dc_test_destroy, dc); 58 59 return dc; 60 } 61 EXPORT_SYMBOL(dm_kunit_alloc_dc); 62 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
