hw/scsi: Fix scsi_bus_init_named() docstring
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 22 Nov 2021 10:47:44 +0000 (11:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 18 Dec 2021 09:57:36 +0000 (10:57 +0100)
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>
include/hw/scsi/scsi.h

index a567a5ed86b14b9a7f56652c6f7ddaa5e03cc294..2ef80af6dcae65b890d39cc911516b55522c4c48 100644 (file)
@@ -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);