diff options
| author | Markus Armbruster | 2010-06-25 18:53:22 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2010-07-02 13:18:01 +0200 |
| commit | fa12fbbecefc6f9bf20374daa275a598096d113c (patch) | |
| tree | c0fa0f87f351a01164bdc59e8b59d2ddd5502ce7 /blockdev.c | |
| parent | scsi: scsi_bus_legacy_handle_cmdline() can fail, fix callers (diff) | |
| download | qemu-fa12fbbecefc6f9bf20374daa275a598096d113c.tar.gz qemu-fa12fbbecefc6f9bf20374daa275a598096d113c.tar.xz qemu-fa12fbbecefc6f9bf20374daa275a598096d113c.zip | |
ide: Make it explicit that ide_create_drive() can't fail
All callers of ide_create_drive() ignore its value. Currently
harmless, because it fails only when qdev_init() fails, which fails
only when ide_drive_initfn() fails, which never fails.
Brittle. Change it to die instead of silently ignoring failure.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
