diff options
| author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-05-01 17:30:43 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-01 17:48:02 +0300 |
| commit | 97ed79f4931964069fc3be7ae5122c3026273f9e (patch) | |
| tree | 270be85cf75f9fdfcb9ec8c592684af929a261e5 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b0e4aa97ea4b58881b85697a6f5628d1839d8e59 (diff) | |
| download | linux-97ed79f4931964069fc3be7ae5122c3026273f9e.tar.xz | |
power: charger-manager: clarify num_properties starting value
Initialize num_properties with length of the copied array instead
of relying on previously memcpy'd value. This makes it clear how
the array and the counter are related.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
