Re: [PATCH] [media] coda/imx-vdoa: Check for platform_get_resource() error

2017-08-18 Thread Philipp Zabel
Hi Fabio, On Wed, 2017-08-16 at 21:14 -0300, Fabio Estevam wrote: > > From: Fabio Estevam > > platform_get_resource() may fail and in this case a NULL dereference > will occur. > > Prevent this from happening by returning an error on > platform_get_resource() failure.  > > Fixes: b0444f18e0b18

[PATCH] [media] coda/imx-vdoa: Check for platform_get_resource() error

2017-08-16 Thread Fabio Estevam
From: Fabio Estevam platform_get_resource() may fail and in this case a NULL dereference will occur. Prevent this from happening by returning an error on platform_get_resource() failure. Fixes: b0444f18e0b18abce ("[media] coda: add i.MX6 VDOA driver") Signed-off-by: Fabio Estevam --- drivers