[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1469671793-13052-1-git-send-email-weiyj.lk@gmail.com>
Date: Thu, 28 Jul 2016 02:09:53 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Joerg Roedel <joro@...tes.org>
Cc: Wei Yongjun <weiyj.lk@...il.com>, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: [PATCH -next] iommu/amd: Fix non static symbol warning
Fixes the following sparse warning:
drivers/iommu/amd_iommu.c:106:1: warning:
symbol '__pcpu_scope_flush_queue' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyj.lk@...il.com>
---
drivers/iommu/amd_iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
index 96de97a..bf5ec0c 100644
--- a/drivers/iommu/amd_iommu.c
+++ b/drivers/iommu/amd_iommu.c
@@ -103,7 +103,7 @@ struct flush_queue {
struct flush_queue_entry *entries;
};
-DEFINE_PER_CPU(struct flush_queue, flush_queue);
+static DEFINE_PER_CPU(struct flush_queue, flush_queue);
static atomic_t queue_timer_on;
static struct timer_list queue_timer;
Powered by blists - more mailing lists