diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2023-02-16 21:03:44 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-02 03:10:48 -0500 |
commit | 05d8a107dba8f94ed6c29fef965a73dca7e549ce (patch) | |
tree | 2aabf30312a9a1d421bd051d6c6e63d68f6c0299 /hw/intc | |
parent | 0adc05f480d7b8b3fe849345279beaee05df9b2d (diff) | |
download | qemu-05d8a107dba8f94ed6c29fef965a73dca7e549ce.zip qemu-05d8a107dba8f94ed6c29fef965a73dca7e549ce.tar.gz qemu-05d8a107dba8f94ed6c29fef965a73dca7e549ce.tar.bz2 |
pci/shpc: refactor shpc_device_plug_common()
Rename it to shpc_device_get_slot(), to mention what it does rather
than how it is used. It also helps to reuse it in further commit.
Also, add a return value and get rid of local_err.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Anton Kuchin <antonkuchin@yandex-team.ru>
Message-Id: <20230216180356.156832-7-vsementsov@yandex-team.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions