diff options
| author | Lucas Tanure <[email protected]> | 2023-02-17 11:08:44 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-03-05 23:37:19 +0000 |
| commit | 50e81116ef576b58384c8829bd767b5decbc2968 (patch) | |
| tree | 43fcf3ba3e339fa37dd22cf9897a73302bdb4793 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | ddd42a12a33eb4d6e9f90a75c50e5044c83b99cf (diff) | |
ASoC: amd: vangogh: use sizeof of variable instead of struct type
Use sizeof(*machine) instead of sizeof(struct acp5x_platform_info)
There is a possibility of bug when variable type has changed but
corresponding struct passed to the sizeof has not.
Signed-off-by: Lucas Tanure <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions