[Sound-open-firmware] [PATCH] Remove "void*" pointer of parse_page_descriptors().

Liam Girdwood liam.r.girdwood at linux.intel.com
Fri Mar 2 10:26:29 CET 2018


On Fri, 2018-03-02 at 16:00 +0800, yan.wang at linux.intel.com wrote:
> From: Yan Wang <yan.wang at linux.intel.com>
> 
> Compiler cannot check the real type of "void*" pointer.
> It is easy to cause pointer conversion error.
> So use the pointer of element list of struct dma_sg_elem instead
> of void* pointer.
> 
> Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
> ---
>  src/ipc/intel-ipc.c | 106 ++++++++++++++++++++++++++++++++++++++--------------

Applied with some minor modifications to pass stream direction directly.

Thanks

Liam


More information about the Sound-open-firmware mailing list