aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorQian Cai <[email protected]>2019-06-01 05:30:49 +0000
committerLinus Torvalds <[email protected]>2019-06-01 22:51:32 +0000
commitd3ed71e5cc50e0df8362af295cbc906acef75558 (patch)
tree567b8c3daa759db4585be9f97cf649503ce8980f /tools/perf/scripts/python/syscall-counts-by-pid.py
parentspdxcheck.py: fix directory structures (diff)
downloadkernel-d3ed71e5cc50e0df8362af295cbc906acef75558.tar.gz
kernel-d3ed71e5cc50e0df8362af295cbc906acef75558.zip
drivers/iommu/intel-iommu.c: fix variable 'iommu' set but not used
Commit cf04eee8bf0e ("iommu/vt-d: Include ACPI devices in iommu=pt") added for_each_active_iommu() in iommu_prepare_static_identity_mapping() but never used the each element, i.e, "drhd->iommu". drivers/iommu/intel-iommu.c: In function 'iommu_prepare_static_identity_mapping': drivers/iommu/intel-iommu.c:3037:22: warning: variable 'iommu' set but not used [-Wunused-but-set-variable] struct intel_iommu *iommu; Fixed the warning by appending a compiler attribute __maybe_unused for it. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Qian Cai <[email protected]> Suggested-by: Andrew Morton <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: David Woodhouse <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions