-
Notifications
You must be signed in to change notification settings - Fork 212
lib: assorted bugfixes #3160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib: assorted bugfixes #3160
Conversation
…tead of the node itself
hodgesds
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
|
||
| for (i = 0; i < topo->nr_children && can_loop; i++) { | ||
| child = topo->children[i]; | ||
| for (i = 0; i < parent->nr_children && can_loop; i++) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
easy coverage
lib/lvqueue.bpf.c
Outdated
| } | ||
|
|
||
| lv_arr_put(arr, b, val); | ||
| lv_arr_put(newarr, b, val); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be lv_arr_put(lv->cur, b, val) because newarr is only initialized inside the if block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, I'm surprised I didn't get a compiler warning for this.
Fix an assorted collection of errors for the scheduler libraries.