qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 02/12] ide: Make it explicit that ide_create_dri


From: Christoph Hellwig
Subject: [Qemu-devel] Re: [PATCH 02/12] ide: Make it explicit that ide_create_drive() can't fail
Date: Fri, 25 Jun 2010 21:40:14 +0200
User-agent: Mutt/1.3.28i

On Fri, Jun 25, 2010 at 06:53:22PM +0200, Markus Armbruster wrote:
> 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 <address@hidden>

Looks good,


Reviewed-by: Christoph Hellwig <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]