diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-11-22 11:47:44 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-18 10:57:36 +0100 |
commit | 7a3ce79c062117501e89a10a7768051b8b52d562 (patch) | |
tree | 2e2fd6b26ede2b4f73af275964b4b2ae7f44434d /include | |
parent | b20a7ee6f0771b3ec7de9a4c7c7b0e5890b70f3e (diff) | |
download | qemu-7a3ce79c062117501e89a10a7768051b8b52d562.zip qemu-7a3ce79c062117501e89a10a7768051b8b52d562.tar.gz qemu-7a3ce79c062117501e89a10a7768051b8b52d562.tar.bz2 |
hw/scsi: Fix scsi_bus_init_named() docstring
Commit 739e95f5741 ("scsi: Replace scsi_bus_new() with
scsi_bus_init(), scsi_bus_init_named()") forgot to rename
scsi_bus_init() in the function documentation string.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211122104744.1051554-1-f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/scsi/scsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/scsi/scsi.h b/include/hw/scsi/scsi.h index a567a5e..2ef80af 100644 --- a/include/hw/scsi/scsi.h +++ b/include/hw/scsi/scsi.h @@ -158,7 +158,7 @@ struct SCSIBus { * provided by the caller. It is the caller's responsibility to make * sure that name does not clash with the name of any other bus in the * system. Unless you need the new bus to have a specific name, you - * should use scsi_bus_new() instead. + * should use scsi_bus_init() instead. */ void scsi_bus_init_named(SCSIBus *bus, size_t bus_size, DeviceState *host, const SCSIBusInfo *info, const char *bus_name); |