[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] coccinelle: use object_new_with_
Re: [Qemu-arm] [Qemu-devel] [PATCH 2/2] coccinelle: use object_new_with_class() in obvious cases
Wed, 5 Oct 2016 08:56:01 -0700
On Wed, Oct 5, 2016 at 7:44 AM, Eduardo Habkost <address@hidden> wrote:
> On Wed, Oct 05, 2016 at 03:35:30PM +0200, Radim Krčmář wrote:
>> object_new_with_class(class) does a better job than
>> object_new(object_class_get_name(class)), because
>> object_class_get_name() lost the class->type and object_new() looked it
>> up again from the name.
>> Manually changed vl.c to fit into 80 character line.
>> Signed-off-by: Radim Krčmář <address@hidden>
> Reviewed-by: Eduardo Habkost <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>