On Sat, May 11, 2024 at 04:36:30AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing > head: 344f74cf531d90245e1296b3ffbaa7df99dd18f6 > commit: 718b36a7b49acbba36546371db2d235271ceb06c [5/12] usb: typec: qcom-pmic-typec: split HPD bridge alloc and registration > config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240511/202405110428.TMCfb1Ut-lkp@xxxxxxxxx/config) > compiler: sh4-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240511/202405110428.TMCfb1Ut-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> > | Closes: https://lore.kernel.org/oe-kbuild-all/202405110428.TMCfb1Ut-lkp@xxxxxxxxx/ > > All errors (new ones prefixed by >>): > > drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: In function 'qcom_pmic_typec_probe': > >> drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c:113:46: error: passing argument 1 of 'devm_drm_dp_hpd_bridge_add' from incompatible pointer type [-Werror=incompatible-pointer-types] > 113 | ret = devm_drm_dp_hpd_bridge_add(tcpm->dev, bridge_dev); > | ~~~~^~~~~ > | | > | struct device * > In file included from drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c:21: > include/drm/bridge/aux-bridge.h:36:71: note: expected 'struct auxiliary_device *' but argument is of type 'struct device *' > 36 | static inline int devm_drm_dp_hpd_bridge_add(struct auxiliary_device *adev) > | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ > >> drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c:113:15: error: too many arguments to function 'devm_drm_dp_hpd_bridge_add' > 113 | ret = devm_drm_dp_hpd_bridge_add(tcpm->dev, bridge_dev); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > include/drm/bridge/aux-bridge.h:36:19: note: declared here > 36 | static inline int devm_drm_dp_hpd_bridge_add(struct auxiliary_device *adev) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors There is an error in include/drm/bridge/aux-bridge.h in the definition of the stub. I'll send a patch. -- With best wishes Dmitry