summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-01-04 16:34:12 +0300
committerWill Deacon <will@kernel.org>2022-01-04 16:38:16 +0300
commit527a7f52529fd661d200e6c4412b6d2528d1a6e8 (patch)
tree3cd2325156af48b721e0ec3a0e549b460878d90c /tools/perf/scripts/python/exported-sql-viewer.py
parent1609c22a8a095d0affed072e345704df5a94f0b0 (diff)
downloadlinux-527a7f52529fd661d200e6c4412b6d2528d1a6e8.tar.xz
perf/smmuv3: Fix unused variable warning when CONFIG_OF=n
The kbuild robot reports that building the SMMUv3 PMU driver with CONFIG_OF=n results in a warning for W=1 builds: >> drivers/perf/arm_smmuv3_pmu.c:889:34: warning: unused variable 'smmu_pmu_of_match' [-Wunused-const-variable] static const struct of_device_id smmu_pmu_of_match[] = { ^ Guard the match table with #ifdef CONFIG_OF. Link: https://lore.kernel.org/r/202201041700.01KZEzhb-lkp@intel.com Fixes: 3f7be4356176 ("perf/smmuv3: Add devicetree support") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions