Comment 31 for bug 1958770

Revision history for this message
bsdz (blairuk) wrote :

I think the last/3rd one might be rewritten like:

 for (tc = 0U; tc < self->aq_nic_cfg.tcs; tc++) {
  for (i = 0U; self->aq_vecs > i; ++i) {
   aq_vec = self->aq_vec[i];
   if (aq_vec) {
    data += count;
    count = aq_vec_get_sw_stats(aq_vec, tc, data);
   }
  }
 }

Have tested whether it compiles sorry.