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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958770/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to