aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-06-14 15:21:08 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-07-29 15:01:10 +0000
commita2d252f89fbccae119c8401a6c9a89d8f088b765 (patch)
tree88b7555354794828214b325f258de2c22c28b51e
parent87c9a2933bdb537cc163aaeb16e588d303dc1d50 (diff)
downloadsrc-a2d252f89fbccae119c8401a6c9a89d8f088b765.tar.gz
src-a2d252f89fbccae119c8401a6c9a89d8f088b765.zip
hwpmc_arm64.c: fix return style
In accordance to style(9). MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 2129c8f6771a9a33253a1fe2d4e9d3494bc77f10)
-rw-r--r--sys/dev/hwpmc/hwpmc_arm64.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/hwpmc/hwpmc_arm64.c b/sys/dev/hwpmc/hwpmc_arm64.c
index 050f861a74fe..ba98eaefcc9a 100644
--- a/sys/dev/hwpmc/hwpmc_arm64.c
+++ b/sys/dev/hwpmc/hwpmc_arm64.c
@@ -188,7 +188,7 @@ arm64_allocate_pmc(int cpu, int ri, struct pmc *pm,
PMCDBG2(MDP, ALL, 2, "arm64-allocate ri=%d -> config=0x%x", ri, config);
- return 0;
+ return (0);
}
@@ -231,7 +231,7 @@ arm64_read_pmc(int cpu, int ri, pmc_value_t *v)
else
*v = tmp;
- return 0;
+ return (0);
}
static int
@@ -254,7 +254,7 @@ arm64_write_pmc(int cpu, int ri, pmc_value_t v)
pm->pm_pcpu_state[cpu].pps_overflowcnt = v >> 32;
arm64_pmcn_write(ri, v);
- return 0;
+ return (0);
}
static int
@@ -277,7 +277,7 @@ arm64_config_pmc(int cpu, int ri, struct pmc *pm)
phw->phw_pmc = pm;
- return 0;
+ return (0);
}
static int
@@ -305,7 +305,7 @@ arm64_start_pmc(int cpu, int ri)
arm64_interrupt_enable(ri);
arm64_counter_enable(ri);
- return 0;
+ return (0);
}
static int
@@ -323,7 +323,7 @@ arm64_stop_pmc(int cpu, int ri)
arm64_counter_disable(ri);
arm64_interrupt_disable(ri);
- return 0;
+ return (0);
}
static int
@@ -340,7 +340,7 @@ arm64_release_pmc(int cpu, int ri, struct pmc *pmc)
KASSERT(phw->phw_pmc == NULL,
("[arm64,%d] PHW pmc %p non-NULL", __LINE__, phw->phw_pmc));
- return 0;
+ return (0);
}
static int