On Fri, Aug 04, 2017 at 06:26:42PM +0800, Mao Zhongyi wrote: > Pass the error message to errp directly rather than the local > variable local_err and propagate it to errp via error_propagate(). > > Cc: John Snow <js...@redhat.com> > Cc: Kevin Wolf <kw...@redhat.com> > Cc: Max Reitz <mre...@redhat.com> > Cc: Keith Busch <keith.bu...@intel.com> > Cc: Stefan Hajnoczi <stefa...@redhat.com> > Cc: "Michael S. Tsirkin" <m...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Cc: Markus Armbruster <arm...@redhat.com> > > Signed-off-by: Mao Zhongyi <maozy.f...@cn.fujitsu.com> > --- > hw/block/fdc.c | 17 ++++++----------- > hw/block/nvme.c | 8 +++----- > hw/block/virtio-blk.c | 17 +++++------------ > hw/ide/qdev.c | 12 ++++-------- > hw/scsi/scsi-disk.c | 13 ++++--------- > hw/usb/dev-storage.c | 9 +++------ > 6 files changed, 25 insertions(+), 51 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature