aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2021-06-14 15:21:08 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2021-06-30 19:26:07 +0000
commit2129c8f6771a9a33253a1fe2d4e9d3494bc77f10 (patch)
treed0e78460b81789d5a475d23c9a72986ba5a35d84
parent1a8bcf30f97e6153def2af781db2fe54f5c0d106 (diff)
downloadsrc-2129c8f6771a9a33253a1fe2d4e9d3494bc77f10.tar.gz
src-2129c8f6771a9a33253a1fe2d4e9d3494bc77f10.zip
hwpmc_arm64.c: fix return style
In accordance to style(9). MFC after: 3 days Sponsored by: The FreeBSD Foundation
-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