Re: [Qemu-devel] [PATCH 0/3] scsi: Trivial cleanups around g_malloc()

2014-12-05 Thread Paolo Bonzini
On 04/12/2014 14:12, Markus Armbruster wrote: > Markus Armbruster (3): > scsi: Drop superfluous conditionals around g_free() > scsi: Fuse g_malloc(); memset() into g_malloc0() > scsi: Use g_new() & friends where that makes obvious sense > > hw/scsi/lsi53c895a.c | 2 +- > hw/scsi/megasa

Re: [Qemu-devel] [PATCH 0/3] scsi: Trivial cleanups around g_malloc()

2014-12-04 Thread Fam Zheng
On Thu, 12/04 14:12, Markus Armbruster wrote: > Markus Armbruster (3): > scsi: Drop superfluous conditionals around g_free() > scsi: Fuse g_malloc(); memset() into g_malloc0() > scsi: Use g_new() & friends where that makes obvious sense > > hw/scsi/lsi53c895a.c | 2 +- > hw/scsi/megasas.

Re: [Qemu-devel] [PATCH 0/3] scsi: Trivial cleanups around g_malloc()

2014-12-04 Thread Eric Blake
On 12/04/2014 06:12 AM, Markus Armbruster wrote: > Markus Armbruster (3): > scsi: Drop superfluous conditionals around g_free() > scsi: Fuse g_malloc(); memset() into g_malloc0() > scsi: Use g_new() & friends where that makes obvious sense Series: Reviewed-by: Eric Blake > > hw/scsi/lsi

[Qemu-devel] [PATCH 0/3] scsi: Trivial cleanups around g_malloc()

2014-12-04 Thread Markus Armbruster
Markus Armbruster (3): scsi: Drop superfluous conditionals around g_free() scsi: Fuse g_malloc(); memset() into g_malloc0() scsi: Use g_new() & friends where that makes obvious sense hw/scsi/lsi53c895a.c | 2 +- hw/scsi/megasas.c | 6 ++ hw/scsi/scsi-generic.c | 6 ++ hw/scs