提交 365409db 编写于 作者: S Sachin Kamat 提交者: Joerg Roedel

iommu/exynos: Fix checkpatch warning

Silences the following type of warnings:
WARNING: Missing a blank line after declarations
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NJoerg Roedel <jroedel@suse.de>
上级 5455d700
...@@ -268,6 +268,7 @@ static void __sysmmu_tlb_invalidate_entry(void __iomem *sfrbase, ...@@ -268,6 +268,7 @@ static void __sysmmu_tlb_invalidate_entry(void __iomem *sfrbase,
sysmmu_iova_t iova, unsigned int num_inv) sysmmu_iova_t iova, unsigned int num_inv)
{ {
unsigned int i; unsigned int i;
for (i = 0; i < num_inv; i++) { for (i = 0; i < num_inv; i++) {
__raw_writel((iova & SPAGE_MASK) | 1, __raw_writel((iova & SPAGE_MASK) | 1,
sfrbase + REG_MMU_FLUSH_ENTRY); sfrbase + REG_MMU_FLUSH_ENTRY);
...@@ -878,6 +879,7 @@ static sysmmu_pte_t *alloc_lv2entry(struct exynos_iommu_domain *priv, ...@@ -878,6 +879,7 @@ static sysmmu_pte_t *alloc_lv2entry(struct exynos_iommu_domain *priv,
*/ */
if (need_flush_flpd_cache) { if (need_flush_flpd_cache) {
struct exynos_iommu_owner *owner; struct exynos_iommu_owner *owner;
spin_lock(&priv->lock); spin_lock(&priv->lock);
list_for_each_entry(owner, &priv->clients, client) list_for_each_entry(owner, &priv->clients, client)
sysmmu_tlb_invalidate_flpdcache( sysmmu_tlb_invalidate_flpdcache(
...@@ -941,6 +943,7 @@ static int lv2set_page(sysmmu_pte_t *pent, phys_addr_t paddr, size_t size, ...@@ -941,6 +943,7 @@ static int lv2set_page(sysmmu_pte_t *pent, phys_addr_t paddr, size_t size,
*pgcnt -= 1; *pgcnt -= 1;
} else { /* size == LPAGE_SIZE */ } else { /* size == LPAGE_SIZE */
int i; int i;
for (i = 0; i < SPAGES_PER_LPAGE; i++, pent++) { for (i = 0; i < SPAGES_PER_LPAGE; i++, pent++) {
if (WARN_ON(!lv2ent_fault(pent))) { if (WARN_ON(!lv2ent_fault(pent))) {
if (i > 0) if (i > 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册