Re: [bug report] [media] davinci: vpif_capture: get subdevs from DT when available

2017-07-11 Thread Kevin Hilman
Dan Carpenter writes: > Hello Kevin Hilman, > > The patch 4a5f8ae50b66: "[media] davinci: vpif_capture: get subdevs > from DT when available" from Jun 6, 2017, leads to the following > static checker warning: > > drivers/media/platform/davinci/vpif_capture.c:1596 > vpif_capture_get_pdata()

[bug report] [media] davinci: vpif_capture: get subdevs from DT when available

2017-07-11 Thread Dan Carpenter
Hello Kevin Hilman, The patch 4a5f8ae50b66: "[media] davinci: vpif_capture: get subdevs from DT when available" from Jun 6, 2017, leads to the following static checker warning: drivers/media/platform/davinci/vpif_capture.c:1596 vpif_capture_get_pdata() error: potential NULL deref