diff options
author | Greg Kurz <groug@kaod.org> | 2018-11-27 14:05:18 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-12-21 09:24:23 +1100 |
commit | dec4ec40a110a43bf6304b9c4ee25663d059029d (patch) | |
tree | a063200388b35b4c2c1fadc3e2d7a32b65c38532 /hw/ppc/ppc405_boards.c | |
parent | cc226c068f985e7788fcbf21e146efe54402eda1 (diff) |
spapr: 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>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/ppc405_boards.c')
0 files changed, 0 insertions, 0 deletions