Skip to content

Commit b875b39

Browse files
author
Damien Le Moal
committed
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: Linux Kernel Functional Testing <lkft@linaro.org> Fixes: d3e140f ("ata: pata_octeon_cf: Drop pointless VPRINTK() calls and convert the remaining one") Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
1 parent 237fe88 commit b875b39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ata/pata_octeon_cf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ static unsigned int octeon_cf_dma_finished(struct ata_port *ap,
595595
union cvmx_mio_boot_dma_intx dma_int;
596596
u8 status;
597597

598-
trace_ata_bmdma_stop(qc, &qc->tf, qc->tag);
598+
trace_ata_bmdma_stop(ap, &qc->tf, qc->tag);
599599

600600
if (ap->hsm_task_state != HSM_ST_LAST)
601601
return 0;

0 commit comments

Comments
 (0)