diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-10-25 16:27:06 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-26 14:18:33 +0100 |
commit | 5cab0d6c2bd1272287068943471102dc6a0c4bcc (patch) | |
tree | 62d29d84db0923273821c9f61a76ed6e966577b0 /Documentation/devicetree | |
parent | 514bc59bfcd02a7f241dad91b5534faffb7effd6 (diff) | |
download | lwn-5cab0d6c2bd1272287068943471102dc6a0c4bcc.tar.gz lwn-5cab0d6c2bd1272287068943471102dc6a0c4bcc.zip |
ASoC: SOF: ipc4-loader: Return ssize_t from sof_ipc4_fw_parse_ext_man()
sof_ipc4_fw_parse_ext_man() can return negative error numbers which is not
correct for the used size_t type.
Change the return value to ssize_t and use the same type where the function
is called.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 73c091a2fe96 ("ASoC: SOF: ipc4-loader: Support for loading external libraries")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20221025132706.30356-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions