diff options
author | Lu Baolu <[email protected]> | 2021-01-30 23:19:07 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-02-02 14:43:56 +0100 |
commit | e1ed66ac300373a8d7e8d95fd86ca522f36602d9 (patch) | |
tree | 59e3f954a6596f3a3b3ffc443ac6fc3b405be171 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3aa7c62cb7d7986063f352d96e921ee2bf2d9749 (diff) |
iommu/vt-d: Fix compile error [-Werror=implicit-function-declaration]
trace_qi_submit() could be used when interrupt remapping is supported,
but DMA remapping is not. In this case, the following compile error
occurs.
../drivers/iommu/intel/dmar.c: In function 'qi_submit_sync':
../drivers/iommu/intel/dmar.c:1311:3: error: implicit declaration of function 'trace_qi_submit';
did you mean 'ftrace_nmi_exit'? [-Werror=implicit-function-declaration]
trace_qi_submit(iommu, desc[i].qw0, desc[i].qw1,
^~~~~~~~~~~~~~~
ftrace_nmi_exit
Fixes: f2dd871799ba5 ("iommu/vt-d: Add qi_submit trace event")
Reported-by: kernel test robot <[email protected]>
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions