Date: Thu, 29 Jul 2021 15:25:31 GMT From: Mitchell Horne <mhorne@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: a2d252f89fbc - stable/13 - hwpmc_arm64.c: fix return style Message-ID: <202107291525.16TFPV0x009988@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=a2d252f89fbccae119c8401a6c9a89d8f088b765 commit a2d252f89fbccae119c8401a6c9a89d8f088b765 Author: Mitchell Horne <mhorne@FreeBSD.org> AuthorDate: 2021-06-14 15:21:08 +0000 Commit: Mitchell Horne <mhorne@FreeBSD.org> CommitDate: 2021-07-29 15:01:10 +0000 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) --- sys/dev/hwpmc/hwpmc_arm64.c | 14 +++++++------- 1 file 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107291525.16TFPV0x009988>