Re: [PATCH v2 6/9] selftests/mm: Print some details when uffd-stress gets bad params

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 Feb 2025 at 19:26, Brendan Jackman <jackmanb@xxxxxxxxxx> 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.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux