* [cornelisnetworks:for-upstream_20261115-1518 35/35] Warning: drivers/infiniband/hw/hfi2/bulksvc_user.c:1291 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst
@ 2026-11-16 18:00 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-16 18:00 UTC (permalink / raw)
To: Dennis Dalessandro; +Cc: llvm, oe-kbuild-all, linux-doc
Hi Dennis,
First bad commit (maybe != root cause):
tree: https://github.com/cornelisnetworks/linux.git for-upstream_20261115-1518
head: 16b51e7cd1a98a98348c7b3d5824a3507c8132fa
commit: 16b51e7cd1a98a98348c7b3d5824a3507c8132fa [35/35] RDMA/hfi2: Add tracepoints and enable hfi2 driver build
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20261117/202611170154.glIRRQ3t-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project ca14e3d05c4e63d6e8103945c86b958ed2f55d5f)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261117/202611170154.glIRRQ3t-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611170154.glIRRQ3t-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/infiniband/hw/hfi2/bulksvc.c:1205:44: error: use of undeclared identifier 'HFI_RVT_WQ_PERCPU'
1205 | (svc->num_lanes == 1 ? WQ_UNBOUND : HFI_RVT_WQ_PERCPU);
| ^~~~~~~~~~~~~~~~~
1 error generated.
--
>> drivers/infiniband/hw/hfi2/bulksvc_verbs.c:2214:6: warning: variable 'err_rc' set but not used [-Wunused-but-set-variable]
2214 | int err_rc = 0;
| ^
drivers/infiniband/hw/hfi2/bulksvc_verbs.c:2458:6: warning: variable 'err_rc' set but not used [-Wunused-but-set-variable]
2458 | int err_rc = 0;
| ^
2 warnings generated.
--
>> drivers/infiniband/hw/hfi2/dms_roce.c:562:13: warning: unused variable 'roce_pio_movdir64b' [-Wunused-variable]
562 | static bool roce_pio_movdir64b;
| ^~~~~~~~~~~~~~~~~~
1 warning generated.
--
>> drivers/infiniband/hw/hfi2/chip.c:6483:28: warning: variable 'extended_vl' set but not used [-Wunused-but-set-variable]
6483 | unsigned int qpns_per_vl, extended_vl, ctxt, i, qpn, n, m;
| ^
1 warning generated.
--
>> drivers/infiniband/hw/hfi2/eth_ethtool.c:1050:12: error: no member named 'ptp_clock' in 'struct ether_device'
1050 | if (edev->ptp_clock) {
| ~~~~ ^
drivers/infiniband/hw/hfi2/eth_ethtool.c:1051:43: error: no member named 'ptp_clock' in 'struct ether_device'
1051 | info->phc_index = ptp_clock_index(edev->ptp_clock);
| ~~~~ ^
2 errors generated.
--
>> drivers/infiniband/hw/hfi2/eth_main.c:214:10: error: call to undeclared function 'cne_ptp_get_ts_config'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
214 | return cne_ptp_get_ts_config(ndev, req);
| ^
drivers/infiniband/hw/hfi2/eth_main.c:214:10: note: did you mean 'cne_get_vf_config'?
drivers/infiniband/hw/hfi2/eth_main.h:345:5: note: 'cne_get_vf_config' declared here
345 | int cne_get_vf_config(struct net_device *ndev, int vf, struct ifla_vf_info *ivf);
| ^
>> drivers/infiniband/hw/hfi2/eth_main.c:216:10: error: call to undeclared function 'cne_ptp_set_ts_config'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
216 | return cne_ptp_set_ts_config(ndev, req);
| ^
2 errors generated.
--
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:227:23: error: no member named 'ptp_config' in 'struct ether_device'
227 | if (READ_ONCE(edev->ptp_config.tx_type) == HWTSTAMP_TX_ON &&
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:228:40: error: no member named 'ptp_in_progress' in 'struct ether_device'
228 | !test_and_set_bit_lock(1, &edev->ptp_in_progress)) {
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:230:21: error: no member named 'ptp_tx_skb' in 'struct ether_device'
230 | WRITE_ONCE(edev->ptp_tx_skb, skb_get(skb));
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:231:21: error: no member named 'ptp_tx_start' in 'struct ether_device'
231 | WRITE_ONCE(edev->ptp_tx_start, get_jiffies_64());
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:231:21: error: no member named 'ptp_tx_start' in 'struct ether_device'
231 | WRITE_ONCE(edev->ptp_tx_start, get_jiffies_64());
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:231:21: error: no member named 'ptp_tx_start' in 'struct ether_device'
231 | WRITE_ONCE(edev->ptp_tx_start, get_jiffies_64());
| ~~~~ ^
>> drivers/infiniband/hw/hfi2/eth_tx.c:231:21: error: no member named 'ptp_tx_start' in 'struct ether_device'
231 | WRITE_ONCE(edev->ptp_tx_start, get_jiffies_64());
| ~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
--
>> drivers/infiniband/hw/hfi2/vf2pf.c:472:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
472 | int ret;
| ^
1 warning generated.
--
>> drivers/infiniband/hw/hfi2/rvt_qp.c:2507:6: warning: variable 'j' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
2507 | if (unlikely(num_sge > max_sge))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler.h:77:22: note: expanded from macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/infiniband/hw/hfi2/rvt_qp.c:2526:9: note: uninitialized use occurs here
2526 | while (j) {
| ^
drivers/infiniband/hw/hfi2/rvt_qp.c:2507:2: note: remove the 'if' if its condition is always false
2507 | if (unlikely(num_sge > max_sge))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2508 | goto bad_lkey;
| ~~~~~~~~~~~~~
drivers/infiniband/hw/hfi2/rvt_qp.c:2495:10: note: initialize the variable 'j' to silence this warning
2495 | int i, j, ret;
| ^
| = 0
1 warning generated.
--
>> Warning: drivers/infiniband/hw/hfi2/eth_sriov.c:74 function parameter 'ivf' not described in 'cne_get_vf_config'
>> Warning: drivers/infiniband/hw/hfi2/eth_sriov.c:74 function parameter 'ivf' not described in 'cne_get_vf_config'
--
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:207 Incorrect use of kernel-doc format: * hfi2_roce_resolve_ah - resolve L2/L3 addressing from a RoCE AH
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:217 function parameter 'dd' not described in 'hfi2_roce_resolve_ah'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:217 function parameter 'ah' not described in 'hfi2_roce_resolve_ah'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:217 function parameter 'udp_sport' not described in 'hfi2_roce_resolve_ah'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:217 function parameter 'addr' not described in 'hfi2_roce_resolve_ah'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:217 expecting prototype for hfi2_roce_modify_qp(). Prototype was for hfi2_roce_resolve_ah() instead
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:655 function parameter 'rdi' not described in 'hfi2_roce_mtu_from_qp'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:655 function parameter 'qp' not described in 'hfi2_roce_mtu_from_qp'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:655 function parameter 'pmtu' not described in 'hfi2_roce_mtu_from_qp'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:668 function parameter 'rdi' not described in 'hfi2_roce_get_pmtu_from_attr'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:668 function parameter 'qp' not described in 'hfi2_roce_get_pmtu_from_attr'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:668 function parameter 'attr' not described in 'hfi2_roce_get_pmtu_from_attr'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:716 function parameter 'qp' not described in 'hfi2_roce_do_send_from_rvt'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:655 function parameter 'rdi' not described in 'hfi2_roce_mtu_from_qp'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:655 function parameter 'qp' not described in 'hfi2_roce_mtu_from_qp'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:655 function parameter 'pmtu' not described in 'hfi2_roce_mtu_from_qp'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:668 function parameter 'rdi' not described in 'hfi2_roce_get_pmtu_from_attr'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:668 function parameter 'qp' not described in 'hfi2_roce_get_pmtu_from_attr'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:668 function parameter 'attr' not described in 'hfi2_roce_get_pmtu_from_attr'
>> Warning: drivers/infiniband/hw/hfi2/roce_verbs.c:716 function parameter 'qp' not described in 'hfi2_roce_do_send_from_rvt'
..
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-16 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-16 18:00 [cornelisnetworks:for-upstream_20261115-1518 35/35] Warning: drivers/infiniband/hw/hfi2/bulksvc_user.c:1291 This comment starts with '/**', but isn't a kernel-doc comment. Refer to Documentation/doc-guide/kernel-doc.rst kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox