diff options
| author | Jaska Uimonen <[email protected]> | 2019-08-22 00:11:38 +0300 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-08-22 18:32:16 +0100 |
| commit | b2f3e0c9e4ee2e07fd880cc0c4da20c42d633d4b (patch) | |
| tree | fcc120a5153bcabd0104230260a16ce6a410c92a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 8d92bb516831e80fac916701447ee6e9f0a6f0f2 (diff) | |
ASoC: SOF: topology: fix get control data return type and arguments
sof_get_control_data returns negative values even though the return
value is defined unsigned (size_t). So change the return value type to
int and add the data size as pointer argument to sof_get_control_data to
avoid ambiquity in the meaning of the return type.
Fixes: cac974a51ebb ("ASoC: SOF: topology: use set_get_data in process load")
Reported by: Dan Carpenter <[email protected]>
Signed-off-by: Jaska Uimonen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions