linux-stable/include
Laurent Pinchart 6c11631480 media: v4l2-async: Document asd allocation requirements
The v4l2_async_notifier_add_subdev() function requires the asd pointer
it receives to be allocated dynamically, but doesn't explicitly say so.
Only one driver out of 13 get its right (atmel-sama5d2-isc.c, but with
memory leaks in the error paths), clearly showing we have an issue.

Update the v4l2_async_notifier_add_subdev() documentation to clearly
state the allocation requirement. Whether this will be enough to avoid
new offending code isn't certain, but it's a good first step
nonetheless.

Fixes: 9ca4653121 ("media: v4l: fwnode: Support generic parsing of graph endpoints in a device")
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-09-10 14:26:05 +02:00
..
acpi
asm-generic
clocksource
crypto
drm drm/i915: Fix sha_text population code 2020-09-02 10:48:11 +03:00
dt-bindings
keys
kunit
kvm
linux Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
math-emu treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
media media: v4l2-async: Document asd allocation requirements 2020-09-10 14:26:05 +02:00
memory
misc
net RxRPC fixes 2020-08-27 12:55:46 -07:00
pcmcia
ras
rdma
scsi
soc irqchip/eznps: Fix build error for !ARC700 builds 2020-08-27 13:15:17 -07:00
sound
target
trace Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-09-03 18:50:48 -07:00
uapi Linux 5.9-rc4 2020-09-07 16:13:06 +02:00
vdso
video
xen xen: branch for v5.9-rc4 2020-09-06 09:59:27 -07:00