diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> | 2023-02-07 22:04:28 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-07 14:06:26 +0000 |
commit | c173ee5b2fa6195066674d66d1d7e191010fb1ff (patch) | |
tree | 9086bd67b53c8dc6de7a9e36c3413cf380c28fba /net/mptcp/diag.c | |
parent | 29aab38823b61e482995c24644bd2d8acfe56185 (diff) |
ASoC: topology: Return -ENOMEM on memory allocation failure
When handling error path, ret needs to be set to correct value.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Fixes: d29d41e28eea ("ASoC: topology: Add support for multiple kcontrol types to a widget")
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20230207210428.2076354-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/mptcp/diag.c')
0 files changed, 0 insertions, 0 deletions