On Sat, May 11, 2024 at 08:32:12AM +0100, Greg Kroah-Hartman wrote: > On Sat, May 11, 2024 at 02:02:15PM +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: arm-randconfig-002-20240511 (https://download.01.org/0day-ci/archive/20240511/202405111302.6y9oqb58-lkp@xxxxxxxxx/config) > > compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project b910bebc300dafb30569cecc3017b446ea8eafa0) > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240511/202405111302.6y9oqb58-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/202405111302.6y9oqb58-lkp@xxxxxxxxx/ > > > > All errors (new ones prefixed by >>): > > > > In file included from drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c:15: > > In file included from include/linux/regulator/consumer.h:35: > > In file included from include/linux/suspend.h:5: > > In file included from include/linux/swap.h:9: > > In file included from include/linux/memcontrol.h:21: > > In file included from include/linux/mm.h:2210: > > include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > > 522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > > | ~~~~~~~~~~~ ^ ~~~ > > >> drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c:113:46: error: too many arguments to function call, expected single argument 'adev', have 2 arguments > > 113 | ret = devm_drm_dp_hpd_bridge_add(tcpm->dev, bridge_dev); > > | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ > > include/drm/bridge/aux-bridge.h:36:19: note: 'devm_drm_dp_hpd_bridge_add' declared here > > 36 | static inline int devm_drm_dp_hpd_bridge_add(struct auxiliary_device *adev) > > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > 1 warning and 1 error generated. > > This is a bug in the drm headers, not in the commit that was added here, > so I'll keep the USB change and try to dig to find the drm fix which > hopefully is somewhere in someone else's tree... Can't find it in linux-next so I'll make a fix up later today. greg k-h