diff options
author | Amadeusz Sławiński <amadeuszx.slawinski@intel.com> | 2019-08-27 17:17:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-05 13:30:33 +0300 |
commit | 006397c0e539bfe1cfe03e7b29142d406731d4c0 (patch) | |
tree | c679831baac856d9b4f3f944bc32d4258e8c7a78 /tools/pcmcia | |
parent | c978052144e5a66615a42be7a7efe559d858d04e (diff) | |
download | linux-006397c0e539bfe1cfe03e7b29142d406731d4c0.tar.xz |
ASoC: Intel: Fix use of potentially uninitialized variable
commit 810f3b860850148788fc1ed8a6f5f807199fed65 upstream.
If ipc->ops.reply_msg_match is NULL, we may end up using uninitialized
mask value.
reported by smatch:
sound/soc/intel/common/sst-ipc.c:266 sst_ipc_reply_find_msg() error: uninitialized symbol 'mask'.
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@intel.com>
Link: https://lore.kernel.org/r/20190827141712.21015-3-amadeuszx.slawinski@linux.intel.com
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/pcmcia')
0 files changed, 0 insertions, 0 deletions