Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion drivers/dma/adi-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@

channel->current_desc = desc;

dev_dbg(dma->dev, "dma config: src = 0x%llx, dst = 0x%llx\n", desc->src, desc->dest);

Check warning on line 501 in drivers/dma/adi-dma.c

View workflow job for this annotation

GitHub Actions / build_gcc_arm / build

gcc_fanalayzer: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] 501 | dev_dbg(dma->dev, "dma config: src = 0x%llx, dst = 0x%llx\n", desc->src, desc->dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check warning on line 501 in drivers/dma/adi-dma.c

View workflow job for this annotation

GitHub Actions / build_gcc_arm / build

gcc_fanalayzer: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] 501 | dev_dbg(dma->dev, "dma config: src = 0x%llx, dst = 0x%llx\n", desc->src, desc->dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check warning on line 501 in drivers/dma/adi-dma.c

View workflow job for this annotation

GitHub Actions / build_gcc_arm / build

kernel_sparse: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] 501 | dev_dbg(dma->dev, "dma config: src = 0x%llx, dst = 0x%llx\n", desc->src, desc->dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Check warning on line 501 in drivers/dma/adi-dma.c

View workflow job for this annotation

GitHub Actions / build_gcc_arm / build

kernel_sparse: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' {aka 'unsigned int'} [-Wformat=] 501 | dev_dbg(dma->dev, "dma config: src = 0x%llx, dst = 0x%llx\n", desc->src, desc->dest); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

dev_dbg(dma->dev, " xcount = %d, xmod = %d, cfg = 0x%x\n",
desc->xcnt, desc->xmod, desc->cfg);
Expand Down Expand Up @@ -896,10 +896,12 @@
spin_lock_irqsave(&channel->lock, flags);

if (channel->current_desc && channel->current_desc->cyclic) {
struct dmaengine_result result = channel->current_desc->result;

dmaengine_desc_get_callback(&channel->current_desc->tx, &cb);

spin_unlock_irqrestore(&channel->lock, flags);
dmaengine_desc_callback_invoke(&cb, &channel->current_desc->result);
dmaengine_desc_callback_invoke(&cb, &result);
return IRQ_HANDLED;
}

Expand Down
Loading