On Fri, 21 Feb 2025 at 19:26, Brendan Jackman jackmanb@google.com wrote:
nr_pages_per_cpu = bytes / page_size / nr_threads; if (!nr_pages_per_cpu) {
_err("invalid MiB");
_err("pages_per_cpu = 0, cannot test (%lu / %lu / %lu)",
nr_pages_per_cpu, bytes, page_size, nr_threads);
Ugh, this is garbage, wrong number of args for the format string.
I think I originally had %d instead of 0, then changed and didn't notice I broke it because it doesn't actually cause the overall kselftests build to fail. I'll need to find a way to update my scripts to detect that.