Re: [PATCH 0/2] media: solo6x10: Fix encoder and MMIO error cleanup

From: Ben Collins

Date: Sat Dec 05 2026 - 07:10:14 EST



> On Dec 5, 2026, at 3:20 AM, Tian Xuechen <202300460064@xxxxxxxxxxxxxxx> wrote:
>
> Fix two error unwinds in solo6x10. Clear the encoder slots during
> initialization rollback and clear the MMIO pointer if mapping fails.
>
> Built solo6x10-v4l2-enc.o and solo6x10-core.o with x86_64 allmodconfig,
> GCC 11.4.0 and W=1. No runtime tests were performed.
>
>
> Tian Xuechen (2):
> media: solo6x10: Fix potential double free on encoder init failure
> media: solo6x10: Fix potential invalid access after mapping failure
>
> drivers/media/pci/solo6x10/solo6x10-core.c | 4 +++-
> drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c | 5 ++++-
> 2 files changed, 7 insertions(+), 2 deletions(-)
>
>
> base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
>

For both:

Signed-off-by: Ben Collins <bcollins@xxxxxxxxxx>

Attachment: signature.asc
Description: Message signed with OpenPGP