On 2/7/19 3:33 PM, Hans Verkuil wrote:
> Hi Steve,
>
> It turns out that the daily build never compiled the staging media drivers,
> which included imx. Now that I enabled it I get these three errors:
>
> drivers/staging/media/imx/imx-media-vdic.c:236 prepare_vdi_in_buffers()
> error: uninitialized symbol 'prev_phys'.
> drivers/staging/media/imx/imx-media-vdic.c:237 prepare_vdi_in_buffers()
> error: uninitialized symbol 'curr_phys'.
> drivers/staging/media/imx/imx-media-vdic.c:238 prepare_vdi_in_buffers()
> error: uninitialized symbol 'next_phys'.
>
> Can you take a look? The root cause is that the switch doesn't have
> a default case.
>
> I expect that this is easy to fix, but I'm not sure what the fix should be,
> otherwise I would have made a patch for you.
Ping!
Regards,
Hans
>
> Regards,
>
> Hans
>