]> git.proxmox.com Git - mirror_qemu.git/commit
pcie: consistent names for function args
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 11 Jul 2019 19:25:50 +0000 (15:25 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 12 Jul 2019 14:56:26 +0000 (10:56 -0400)
commit4d90b7a0e4aa8051d4a059d49e458e3378aa39ff
treefeff0dd20b2dc34ce80f2395b8fbb20e42465dae
parent8e2e95ef04a8d40d59d1d735e3ebd48324c27417
pcie: consistent names for function args

The function declarations for pci_cap_slot_get and
pci_cap_slot_write_config call the argument "slot_ctl", but the function
definitions and all the call sites drop the 'o' and call it "slt_ctl".
Let's be consistent.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
include/hw/pci/pcie.h