mirror of https://github.com/thesofproject/sof.git
Change type of size in trace_work() callback from uint32_t to int32_t.
This variable is set by the return value of dma_copy_to_host_nowait(). Unsigned type will mislead error checking. Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
This commit is contained in:
parent
bd220b212f
commit
b7cd6ac667
|
@ -48,7 +48,7 @@ static uint64_t trace_work(void *data, uint64_t delay)
|
|||
struct dma_sg_config *config = &d->config;
|
||||
unsigned long flags;
|
||||
uint32_t avail = buffer->avail;
|
||||
uint32_t size;
|
||||
int32_t size;
|
||||
uint32_t hsize;
|
||||
uint32_t lsize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue