Hi Damon,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on next-20250724]
[cannot apply to drm-exynos/exynos-drm-next rockchip/for-next linus/master 
v6.16-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    
https://github.com/intel-lab-lkp/linux/commits/Damon-Ding/drm-bridge-analogix_dp-Formalize-the-struct-analogix_dp_device/20250724-160804
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    
https://lore.kernel.org/r/20250724080304.3572457-9-damon.ding%40rock-chips.com
patch subject: [PATCH v3 08/14] drm/bridge: analogix_dp: Apply 
drm_bridge_connector helper
config: x86_64-buildonly-randconfig-003-20250725 
(https://download.01.org/0day-ci/archive/20250725/202507251021.a6wmq4di-...@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 
87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250725/202507251021.a6wmq4di-...@intel.com/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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202507251021.a6wmq4di-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1346:12: error: 
>> incompatible function pointer types initializing 'enum drm_connector_status 
>> (*)(struct drm_bridge *, struct drm_connector *)' with an expression of type 
>> 'enum drm_connector_status (struct drm_bridge *)' 
>> [-Wincompatible-function-pointer-types]
    1346 |         .detect = analogix_dp_bridge_detect,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +1346 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

  1333  
  1334  static const struct drm_bridge_funcs analogix_dp_bridge_funcs = {
  1335          .atomic_duplicate_state = 
drm_atomic_helper_bridge_duplicate_state,
  1336          .atomic_destroy_state = drm_atomic_helper_bridge_destroy_state,
  1337          .atomic_reset = drm_atomic_helper_bridge_reset,
  1338          .atomic_pre_enable = analogix_dp_bridge_atomic_pre_enable,
  1339          .atomic_enable = analogix_dp_bridge_atomic_enable,
  1340          .atomic_disable = analogix_dp_bridge_atomic_disable,
  1341          .atomic_post_disable = analogix_dp_bridge_atomic_post_disable,
  1342          .atomic_check = analogix_dp_bridge_atomic_check,
  1343          .attach = analogix_dp_bridge_attach,
  1344          .get_modes = analogix_dp_bridge_get_modes,
  1345          .edid_read = analogix_dp_bridge_edid_read,
> 1346          .detect = analogix_dp_bridge_detect,
  1347  };
  1348  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to