[PATCH 2/3] lib: sbi: sbi_pmu: fixed alignment
Anup Patel
anup at brainfault.org
Mon Oct 27 04:33:02 PDT 2025
On Thu, Sep 18, 2025 at 2:37 PM Alexander Chuprunov
<alexander.chuprunov at syntacore.com> wrote:
>
> Deleted spaces before brace in pmu_ctr_start_fw() for correct alignment.
>
> Signed-off-by: Alexander Chuprunov <alexander.chuprunov at syntacore.com>
LGTM.
Reviewed-by: Anup Patel <anup at brainfault.org>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
> ---
> lib/sbi/sbi_pmu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/sbi/sbi_pmu.c b/lib/sbi/sbi_pmu.c
> index 0718b3ed..5d98a532 100644
> --- a/lib/sbi/sbi_pmu.c
> +++ b/lib/sbi/sbi_pmu.c
> @@ -432,7 +432,7 @@ static int pmu_ctr_start_fw(struct sbi_pmu_hart_state *phs,
> !pmu_dev->fw_counter_write_value ||
> !pmu_dev->fw_counter_start) {
> return SBI_EINVAL;
> - }
> + }
>
> if (ival_update)
> pmu_dev->fw_counter_write_value(phs->hartid,
> --
> 2.43.0
>
>
> --
> opensbi mailing list
> opensbi at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
More information about the opensbi
mailing list