diff options
author | Greg Kurz <groug@kaod.org> | 2018-11-27 14:05:06 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-12-21 09:24:23 +1100 |
commit | cc226c068f985e7788fcbf21e146efe54402eda1 (patch) | |
tree | e746dd34c00008e25fb3ad44e49fba2d237d58d4 /target/openrisc | |
parent | 118abc71ed900e7a2cafa3c12eb39b0184f2ba22 (diff) |
target/ppc: use g_new(T, n) instead of g_malloc(sizeof(T) * n)
Because it is a recommended coding practice (see HACKING).
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/openrisc')
0 files changed, 0 insertions, 0 deletions