summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2020-04-08 13:53:23 -0700
committerBorislav Petkov <bp@suse.de>2020-05-19 19:30:28 +0200
commitd7110a26e5905ec2fe3fc88bc6a538901accb72b (patch)
tree4a8f3eee193a8b11b5293ab9ae9b36ee5c446cf8 /tools/perf/scripts/python/bin/stackcollapse-record
parentb9bbe6ed63b2b9f2c9ee5cbd0f2c946a2723f4ce (diff)
downloadkernel-d7110a26e5905ec2fe3fc88bc6a538901accb72b.tar.gz
x86/mmiotrace: Use cpumask_available() for cpumask_var_t variables
When building with Clang + -Wtautological-compare and CONFIG_CPUMASK_OFFSTACK unset: arch/x86/mm/mmio-mod.c:375:6: warning: comparison of array 'downed_cpus' equal to a null pointer is always false [-Wtautological-pointer-compare] if (downed_cpus == NULL && ^~~~~~~~~~~ ~~~~ arch/x86/mm/mmio-mod.c:405: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. Reported-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Link: https://github.com/ClangBuiltLinux/linux/issues/982 Link: https://lkml.kernel.org/r/20200408205323.44490-1-natechancellor@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
tegerJohn Johansen 2022-10-03apparmor: convert xmatch lookup to use accept as an indexJohn Johansen 2022-10-03apparmor: convert xmatch to using the new shared policydb structJohn Johansen 2022-10-03apparmor: combine file_rules and aa_policydb into a single shared structJohn Johansen 2022-10-03apparmor: convert xmatch to use aa_perms structureJohn Johansen 2022-10-03apparmor: compute xmatch permissions on profile loadMike Salvatore 2022-10-03apparmor: compute file permissions on profile loadMike Salvatore 2022-07-19apparmor: fix overlapping attachment computationJohn Johansen 2022-07-09apparmor: Fix some kernel-doc commentsYang Li 2022-03-10tracehook: Remove tracehook.hEric W. Biederman 2021-01-24apparmor: handle idmapped mountsChristian Brauner 2021-01-24xattr: handle idmapped mountsTycho Andersen 2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva 2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long 2020-06-07Merge tag 'apparmor-pr-2020-06-07' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds 2020-06-04Merge branch 'exec-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds 2020-05-21apparmor: fix potential label refcnt leak in aa_change_profileXiyu Yang 2020-05-20exec: Factor security_bprm_creds_for_exec out of security_bprm_set_credsEric W. Biederman