diff options
| author | Marek Szyprowski <[email protected]> | 2019-01-07 07:04:14 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-01-07 14:39:36 -0500 |
| commit | 1e0d0a5fd38192f23304ea2fc2b531fea7c74247 (patch) | |
| tree | 0c3c63cbb4b938d1744f65916ed5d76e984b3017 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 07758747a2d7963593421b4e782b0f20a80f58d3 (diff) | |
media: s5p-mfc: fix incorrect bus assignment in virtual child device
Virtual MFC codec's child devices must not be assigned to platform bus,
because they are allocated as raw 'struct device' and don't have the
corresponding 'platform' part. This fixes NULL pointer access revealed
recently by commit a66d972465d1 ("devres: Align data[] to
ARCH_KMALLOC_MINALIGN").
Fixes: c79667dd93b0 ("media: s5p-mfc: replace custom reserved memory handling code with generic one")
Reported-by: Paweł Chmiel <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Tested-by: Paweł Chmiel <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions