mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] media: solo6x10: Fix encoder and MMIO error cleanup
@ 2026-12-05  8:20 Tian Xuechen
  2026-12-05  8:20 ` [PATCH 1/2] media: solo6x10: Fix potential double free on encoder init failure Tian Xuechen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tian Xuechen @ 2026-12-05  8:20 UTC (permalink / raw)
  To: maintainers
  Cc: ismael, mchehab, bcollins, gregkh, linux-media, linux-kernel,
	phasta, hverkuil

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-05 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-05  8:20 [PATCH 0/2] media: solo6x10: Fix encoder and MMIO error cleanup Tian Xuechen
2026-12-05  8:20 ` [PATCH 1/2] media: solo6x10: Fix potential double free on encoder init failure Tian Xuechen
2026-12-05  8:20 ` [PATCH 2/2] media: solo6x10: Fix potential invalid access after mapping failure Tian Xuechen
2026-12-05 12:09 ` [PATCH 0/2] media: solo6x10: Fix encoder and MMIO error cleanup Ben Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®