提交 b875b39e 编写于 作者: D Damien Le Moal

ata: pata_octeon_cf: fix call to trace_ata_bmdma_stop()

The first argument of trace_ata_bmdma_stop() must be a pointer to a
struct ata_port, not to a struct ata_queued_cmd.
Reported-by: NLinux Kernel Functional Testing <lkft@linaro.org>
Fixes: d3e140f2 ("ata: pata_octeon_cf: Drop pointless VPRINTK() calls and convert the remaining one")
Signed-off-by: NDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: NLinux Kernel Functional Testing <lkft@linaro.org>
上级 237fe888
......@@ -595,7 +595,7 @@ static unsigned int octeon_cf_dma_finished(struct ata_port *ap,
union cvmx_mio_boot_dma_intx dma_int;
u8 status;
trace_ata_bmdma_stop(qc, &qc->tf, qc->tag);
trace_ata_bmdma_stop(ap, &qc->tf, qc->tag);
if (ap->hsm_task_state != HSM_ST_LAST)
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册