]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ata: pata_octeon_cf: fix call to trace_ata_bmdma_stop()
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 21 Jan 2022 08:19:33 +0000 (17:19 +0900)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Fri, 21 Jan 2022 09:39:16 +0000 (18:39 +0900)
commitb875b39e7373dcaccb19a600a52a956061c2c833
treec7d5cd82637d78145013737c93ea507f1b0aa889
parent237fe8885a3fdab169bf670790c9f40046af45d3
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: d3e140f2b008 ("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>
drivers/ata/pata_octeon_cf.c