[PATCH 0/2] media: solo6x10: Fix encoder and MMIO error cleanup
From: Tian Xuechen
Date: Sat Dec 05 2026 - 03:21:25 EST
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