Searched hist:"0 a553c12c71d5627abf223a926ab9688a5573f54" (Results 1 – 7 of 7) sorted by relevance
/qemu/ui/ |
H A D | vnc-enc-hextile.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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 D | whpx-all.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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 D | eeprom93xx.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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 D | ccid-card-emulated.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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 D | exynos4210_uart.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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 D | kvm.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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 D | kvm.c | 0a553c12c71d5627abf223a926ab9688a5573f54 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>
|