Hi WenChen,
FYI, the error/warning still remains.
tree: https://gitee.com/openeuler/kernel.git OLK-5.10
head: b71af6f00ede58be00cb7306c9acb2660ec90947
commit: 329bf7f331286ee5d571d374e31ed50d2877b110 [2516/2516] ubcore: fix the bug of tp negotiation concurrency
config: arm64-randconfig-003-20241203 (https://download.01.org/0day-ci/archive/20241205/202412050951.PkO7IjDp-lkp@…)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241205/202412050951.PkO7IjDp-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412050951.PkO7IjDp-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/ub/urma/ubcore/ubcore_tp.c:66:17: warning: no previous prototype for 'ubcore_get_mtu' [-Wmissing-prototypes]
66 | enum ubcore_mtu ubcore_get_mtu(int mtu)
| ^~~~~~~~~~~~~~
>> drivers/ub/urma/ubcore/ubcore_tp.c:392:5: warning: no previous prototype for 'ubcore_modify_tp_state' [-Wmissing-prototypes]
392 | int ubcore_modify_tp_state(struct ubcore_device *dev, struct ubcore_tp *tp,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/ub/urma/ubcore/ubcore_tp.c:894:19: warning: no previous prototype for 'ubcore_create_vtp' [-Wmissing-prototypes]
894 | struct ubcore_tp *ubcore_create_vtp(struct ubcore_device *dev, union ubcore_eid *remote_eid,
| ^~~~~~~~~~~~~~~~~
drivers/ub/urma/ubcore/ubcore_tp.c:920:5: warning: no previous prototype for 'ubcore_destroy_vtp' [-Wmissing-prototypes]
920 | int ubcore_destroy_vtp(struct ubcore_tp *vtp)
| ^~~~~~~~~~~~~~~~~~
vim +/ubcore_modify_tp_state +392 drivers/ub/urma/ubcore/ubcore_tp.c
391
> 392 int ubcore_modify_tp_state(struct ubcore_device *dev, struct ubcore_tp *tp,
393 enum ubcore_tp_state new_state, struct ubcore_tp_attr *attr, union ubcore_tp_attr_mask mask)
394 {
395 if (ubcore_modify_tp_state_check(tp, new_state) != 0)
396 return -1;
397
398 if (tp->state == UBCORE_TP_STATE_ERR && new_state == UBCORE_TP_STATE_ERR) {
399 ubcore_log_info("tp is already in ERR state and tpn = %u",
400 tp->tpn);
401 return 0;
402 }
403
404 if (dev->ops->modify_tp(tp, attr, mask) != 0) {
405 /* tp->peer_ext.addr will be freed when called ubcore_destroy_tp */
406 ubcore_log_err("Failed to modify tp to %u from state %u and tpn = %u",
407 (uint32_t)new_state, (uint32_t)tp->state, tp->tpn);
408 return -1;
409 }
410 tp->state = new_state;
411 ubcore_log_info("tp state:(%u to %u) with tpn %u, peer_tpn %u",
412 (uint32_t)tp->state, (uint32_t)new_state, tp->tpn, tp->peer_tpn);
413 return 0;
414 }
415
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: a2c7a5a53b2787fa56e28a271e9d3894f70e8374
commit: b718dd523687c682c11f3aa590780c277a8a90d9 [1590/1590] ACPI: CPPC: Add New ABIs for reading and writing three new CPPC registers
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20241205/202412050326.2EEPoVUd-lkp@…)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241205/202412050326.2EEPoVUd-lkp@…)
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(a)intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412050326.2EEPoVUd-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/acpi/cppc_acpi.c:1671: warning: Function parameter or member 'auto_sel' not described in 'cppc_get_auto_sel'
>> drivers/acpi/cppc_acpi.c:1671: warning: Excess function parameter 'auto_act_window' description in 'cppc_get_auto_sel'
vim +1671 drivers/acpi/cppc_acpi.c
1664
1665 /**
1666 * cppc_get_auto_sel() - Read autonomous selection register.
1667 * @cpunum:CPU from which to read register.
1668 * @auto_act_window:Return address.
1669 */
1670 int cppc_get_auto_sel(int cpunum, u64 *auto_sel)
> 1671 {
1672 return cppc_get_reg(cpunum, AUTO_SEL_ENABLE, auto_sel);
1673 }
1674 EXPORT_SYMBOL_GPL(cppc_get_auto_sel);
1675
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki