Skip to content
Snippets Groups Projects
Commit 7809c4d5 authored by Qian Cai's avatar Qian Cai Committed by Joerg Roedel
Browse files

iommu/vt-d: fix a GCC warning


The commit 6ee1b77b ("iommu/vt-d: Add svm/sva invalidate function")
introduced a GCC warning,

drivers/iommu/intel-iommu.c:5330:1: warning: 'static' is not at beginning of
declaration [-Wold-style-declaration]
 const static int
 ^~~~~

Fixes: 6ee1b77b ("iommu/vt-d: Add svm/sva invalidate function")
Signed-off-by: default avatarQian Cai <cai@lca.pw>
Acked-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200521215030.16938-1-cai@lca.pw


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent bfe6240d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment