[PATCH] lib: sbi_pmu: unmap shared memory on the early exit in event_get_info

Anup Patel anup at brainfault.org
Sun Oct 25 20:38:47 PDT 2026


On Sun, Oct 25, 2026 at 8:27 PM Sebastian Alba Vives
<sebasjosue84 at gmail.com> wrote:
>
> Hi Anup,
>
> Thanks for applying this.
>
> One thing that belongs on the record: liutong sent the same fix a month
> before mine, on 2026-09-10, as part of a v3 series.
>
>   https://lore.kernel.org/r/20260910052629.3359493-4-liutong@iscas.ac.cn
>
> Same function, same early exit, same Fixes tag. I was not aware of it
> when I sent mine. It arrived as patch 3/4 of a series whose cover letter
> is about integer overflows, and I had only checked the standalone July
> patch for that function.
>
> liutong is Cc'd here. That patch is still unmerged, so if you would
> rather add a Reported-by or handle the credit some other way, that is
> the right outcome as far as I am concerned.

Thanks for bringing this up.

I generally try my best to pick older patches first but I can make
mistakes. I expect patch authors to highlight duplicate changes
sooner.

Unfortunately, in this case, I have already pushed the commits in
upstream and now if I re-write old commits then people will have
problems syncing their forks.

Regards,
Anup



More information about the opensbi mailing list