Skip to content

Prepare for cdev fixes

Mauro Carvalho Chehab linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media-devnode: fix namespace messdrivers/media/media-devnode.c include/media/media-devnode.h+63 -630 replies
2/2media-device: dynamically allocate struct media_devnodedrivers/media/media-device.c drivers/media/media-devnode.c drivers/media/usb/au0828/au0828-core.c +3 more+52 -237 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Prepare for cdev fixes

Those two patches are needed by Shuah's patch that fix use-after free troubles:

	https://patchwork.linuxtv.org/patch/34201/

Those two patches were already sent back on March, 23 but specially the second patch would need more review.

So, resend it, in order to get some acks. My plan is to test them together with Shuah's patch on this Monday, and apply them as soon as possible, for the Kernel 4.7 merge window. Those patches should be c/c to stable, in order to fix for older Kernels.

Mauro Carvalho Chehab (2):
[media] media-devnode: fix namespace mess
[media] media-device: dynamically allocate struct media_devnode

 drivers/media/media-device.c           |  44 +++++++++----
 drivers/media/media-devnode.c          | 115 +++++++++++++++++----------------
 drivers/media/usb/au0828/au0828-core.c |   4 +-
 drivers/media/usb/uvc/uvc_driver.c     |   2 +-
 include/media/media-device.h           |   5 +-
 include/media/media-devnode.h          |  27 +++++---
 6 files changed, 113 insertions(+), 84 deletions(-)
Signature · 1 line
2.5.5