diff options
| author | 2022-07-08 11:47:47 +0100 | |
|---|---|---|
| committer | 2022-09-01 14:26:44 +0530 | |
| commit | 4ef3f2aff1267bfa6d5a90c42a30b927b8aa239b (patch) | |
| tree | 39ecbef959f7dcd4683ed71a610baed605ba65d3 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | soundwire: qcom: remove duplicate reset control get (diff) | |
| download | linux-dev-4ef3f2aff1267bfa6d5a90c42a30b927b8aa239b.tar.xz linux-dev-4ef3f2aff1267bfa6d5a90c42a30b927b8aa239b.zip | |
soundwire: qcom: fix device status array range
This patch updates device status array range from 11 to 12 as we will
be reading status from device number 0 to device number 11 inclusive.
Without this patch we can potentially access status array out of range
during auto-enumeration.
Fixes: aa1262ca6695 ("soundwire: qcom: Check device status before reading devid")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20220708104747.8722-1-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
