Re: [PATCH] media: s5p-mfc: fix incorrect bus assignment in virtual child device

2019-01-07 Thread Paweł Chmiel
Dnia poniedziałek, 7 stycznia 2019 13:04:14 CET Marek Szyprowski pisze: > 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 > recentl

[PATCH] media: s5p-mfc: fix incorrect bus assignment in virtual child device

2019-01-07 Thread Marek Szyprowski
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"). Rep