aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2021-09-28 13:35:16 +0300
committerMark Brown <[email protected]>2021-09-28 13:16:26 +0100
commit6a0ba071b71c44bc905522b77e96afad464e8aac (patch)
treed2e121ed7e65d72c6846cce61be8700bdae3bee2 /tools
parentb05cfb1215223a750cff5367b625f0ed285a36cf (diff)
ASoC: SOF: add error handling to snd_sof_ipc_msg_data()
If an invalid stream is passed to snd_sof_ipc_msg_data() it won't fill the provided object with data. The caller has to be able to recognise such cases to avoid handling invalid data. Make the function return an error when failing. Signed-off-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Peter Ujfalusi <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions