* [alobakin:idpf-libie-new 69/72] drivers/net/ethernet/intel/idpf/idpf_txrx.c:1133: warning: Excess function parameter 'mask' description in 'idpf_vector_to_queue_set'
@ 2024-03-05 9:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-05 9:45 UTC (permalink / raw)
To: Michal Kubiak; +Cc: oe-kbuild-all, Alexander Lobakin
tree: https://github.com/alobakin/linux idpf-libie-new
head: 1f708723b6e4b829c73e2c7e6ed90804da296e16
commit: 671bb36b73c82d2c04589c82dc5d47f44e201070 [69/72] idpf: add XSk pool initialization
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20240305/202403051751.27NEd8DF-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240305/202403051751.27NEd8DF-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/202403051751.27NEd8DF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/intel/idpf/idpf_txrx.c:1133: warning: Excess function parameter 'mask' description in 'idpf_vector_to_queue_set'
vim +1133 drivers/net/ethernet/intel/idpf/idpf_txrx.c
1117
1118 /**
1119 * idpf_vector_to_queue_set - create a queue set associated with a given
1120 * queue vector.
1121 * @qv: queue vector corresponding to the queue pair
1122 * @mask: mask of queue types to disable (Rx, Tx, XDP)
1123 *
1124 * Returns a pointer to a dynamically allocated array of pointers to all
1125 * queues associated with a given queue vector (@qv).
1126 * Please note that the caller is responsible to free the memory allocated
1127 * by this function using kfree().
1128 *
1129 * Return: &idpf_queue_set on success, %NULL in case of error.
1130 */
1131 static struct idpf_queue_set *
1132 idpf_vector_to_queue_set(struct idpf_q_vector *qv)
> 1133 {
1134 struct idpf_queue_set *qs;
1135 u32 num;
1136
1137 num = qv->num_rxq + qv->num_bufq + qv->num_txq + qv->num_complq;
1138 if (!num)
1139 return NULL;
1140
1141 qs = idpf_alloc_queue_set(qv->vport, num);
1142 if (!qs)
1143 return NULL;
1144
1145 num = 0;
1146
1147 for (u32 i = 0; i < qv->num_bufq; i++) {
1148 qs->qs[num].type = VIRTCHNL2_QUEUE_TYPE_RX_BUFFER;
1149 qs->qs[num++].bufq = qv->bufq[i];
1150 }
1151
1152 for (u32 i = 0; i < qv->num_rxq; i++) {
1153 qs->qs[num].type = VIRTCHNL2_QUEUE_TYPE_RX;
1154 qs->qs[num++].rxq = qv->rx[i];
1155 }
1156
1157 for (u32 i = 0; i < qv->num_txq; i++) {
1158 qs->qs[num].type = VIRTCHNL2_QUEUE_TYPE_TX;
1159 qs->qs[num++].txq = qv->tx[i];
1160 }
1161
1162 for (u32 i = 0; i < qv->num_complq; i++) {
1163 qs->qs[num].type = VIRTCHNL2_QUEUE_TYPE_TX_COMPLETION;
1164 qs->qs[num++].complq = qv->complq[i];
1165 }
1166
1167 if (num != qs->num) {
1168 kfree(qs);
1169 return NULL;
1170 }
1171
1172 return qs;
1173 }
1174
--
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:[~2024-03-05 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-05 9:45 [alobakin:idpf-libie-new 69/72] drivers/net/ethernet/intel/idpf/idpf_txrx.c:1133: warning: Excess function parameter 'mask' description in 'idpf_vector_to_queue_set' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.