Skip to content

Conversation

@etsal
Copy link
Contributor

@etsal etsal commented Dec 18, 2025

Fix an assorted collection of errors for the scheduler libraries.

Copy link
Contributor

@hodgesds hodgesds left a 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++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easy coverage

}

lv_arr_put(arr, b, val);
lv_arr_put(newarr, b, val);
Copy link
Contributor

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.

Copy link
Contributor Author

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.

@arighi arighi added this pull request to the merge queue Dec 27, 2025
Merged via the queue into sched-ext:main with commit 15fa4a5 Dec 27, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants