mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
iommu/vt-d: fix a GCC warning
The commit6ee1b77ba3("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:6ee1b77ba3("iommu/vt-d: Add svm/sva invalidate function") Signed-off-by: Qian Cai <[email protected]> Acked-by: Lu Baolu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
1 parent
bfe6240dfe
commit
7809c4d580
1 file changed
+1
-1
@@ -5327,7 +5327,7 @@ static void intel_iommu_aux_detach_device(struct iommu_domain *domain,
|
||||
* [IOMMU_CACHE_INV_TYPE_IOTLB][IOMMU_INV_GRANU_ADDR]
|
||||
*/
|
||||
|
||||
const static int
|
||||
static const int
|
||||
inv_type_granu_table[IOMMU_CACHE_INV_TYPE_NR][IOMMU_INV_GRANU_NR] = {
|
||||
/*
|
||||
* PASID based IOTLB invalidation: PASID selective (per PASID),
|
||||
|
||||
Reference in new issue
Block a user