search for: cpumask_avail

Displaying 7 results from an estimated 7 matches for "cpumask_avail".

2020 Apr 08
5
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...5:6: warning: comparison of array 'downed_cpus' equal to a null pointer is always false [-Wtautological-pointer-compare] if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) ^~~~~~~~~~~ ~~~~ 2 warnings generated. Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added cpumask_available to fix warnings of this nature. Use that here so that clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. Link: https://github.com/ClangBuiltLinux/linux/issues/982 Reported-by: Sedat Dilek <sedat.dilek at gmail.com> Signed-off-by: Natha...
2020 May 18
2
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...; > equal to a null pointer is always false [-Wtautological-pointer-compare] > > if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) > > ^~~~~~~~~~~ ~~~~ > > 2 warnings generated. > > > > Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added > > cpumask_available to fix warnings of this nature. Use that here so that > > clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/982 > > Reported-by: Sedat Dilek <...
2020 Apr 08
0
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...rray 'downed_cpus' > equal to a null pointer is always false [-Wtautological-pointer-compare] > if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) > ^~~~~~~~~~~ ~~~~ > 2 warnings generated. > > Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added > cpumask_available to fix warnings of this nature. Use that here so that > clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. > > Link: https://github.com/ClangBuiltLinux/linux/issues/982 > Reported-by: Sedat Dilek <sedat.dilek at gmail.com&...
2020 Apr 08
1
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...; > equal to a null pointer is always false [-Wtautological-pointer-compare] > > if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) > > ^~~~~~~~~~~ ~~~~ > > 2 warnings generated. > > > > Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added > > cpumask_available to fix warnings of this nature. Use that here so that > > clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/982 > > Reported-by: Sedat Dilek <...
2020 May 18
0
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...ray 'downed_cpus' > equal to a null pointer is always false [-Wtautological-pointer-compare] > if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) > ^~~~~~~~~~~ ~~~~ > 2 warnings generated. > > Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added > cpumask_available to fix warnings of this nature. Use that here so that > clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. > > Link: https://github.com/ClangBuiltLinux/linux/issues/982 > Reported-by: Sedat Dilek <sedat.dilek at gmail.com...
2020 May 18
0
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...inter is always false [-Wtautological-pointer-compare] > > > if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) > > > ^~~~~~~~~~~ ~~~~ > > > 2 warnings generated. > > > > > > Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added > > > cpumask_available to fix warnings of this nature. Use that here so that > > > clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. > > > > > > Link: https://github.com/ClangBuiltLinux/linux/issues/982 > > > Repo...
2020 Apr 15
0
[PATCH] x86: mmiotrace: Use cpumask_available for cpumask_var_t variables
...ray 'downed_cpus' > equal to a null pointer is always false [-Wtautological-pointer-compare] > if (downed_cpus == NULL || cpumask_weight(downed_cpus) == 0) > ^~~~~~~~~~~ ~~~~ > 2 warnings generated. > > Commit f7e30f01a9e2 ("cpumask: Add helper cpumask_available()") added > cpumask_available to fix warnings of this nature. Use that here so that > clang does not warn regardless of CONFIG_CPUMASK_OFFSTACK's value. > > Link: https://github.com/ClangBuiltLinux/linux/issues/982 > Reported-by: Sedat Dilek <sedat.dilek at gmail.com...