diff options
author | Michał Mirosław <[email protected]> | 2020-08-09 21:21:16 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-08-18 17:18:44 +0100 |
commit | 7d8196641ee1eea6223e68ff92362652b1c8346b (patch) | |
tree | 3082b27b065788c56f64cf73d5f082ed3f45bcc1 /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | aedf7451e7535bc93bb9cec0ebc91744934da95c (diff) |
regulator: Remove pointer table overallocation
The code allocates sizeof(regulator_dev) for a pointer. Make it less
generous. Let kcalloc() calculate the size, while at it.
Signed-off-by: Michał Mirosław <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Link: https://lore.kernel.org/r/407fbd06a02caf038a9ba3baa51c7d6d47cd6517.1597000795.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions