Home
last modified time | relevance | path

Searched hist:"0 a553c12c71d5627abf223a926ab9688a5573f54" (Results 1 – 7 of 7) sorted by relevance

/qemu/ui/
H A Dvnc-enc-hextile.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
/qemu/target/i386/whpx/
H A Dwhpx-all.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
/qemu/hw/nvram/
H A Deeprom93xx.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
/qemu/hw/usb/
H A Dccid-card-emulated.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
/qemu/hw/char/
H A Dexynos4210_uart.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
/qemu/target/s390x/kvm/
H A Dkvm.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
/qemu/target/i386/kvm/
H A Dkvm.c0a553c12c71d5627abf223a926ab9688a5573f54 Fri Sep 23 12:00:24 UTC 2022 Markus Armbruster <armbru@redhat.com> Drop useless casts from g_malloc() & friends to pointer

These memory allocation functions return void *, and casting to
another pointer type is useless clutter. Drop these casts.

If you really want another pointer type, consider g_new().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220923120025.448759-3-armbru@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>