mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
sound: soc: tegra-alt: Fix Out-of-bounds read
It fixes Coverity defect of logically Out-of-bounds read. Coverity ID: 20425 Bug 200116059 Change-Id: I77c0c90f23beb7bf8938fc9ab3701d1ad8065267 Signed-off-by: Dipesh Gandhi <dipeshg@nvidia.com> Reviewed-on: http://git-master/r/1115850 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Pai <npai@nvidia.com>
This commit is contained in:
committed by
Sameer Pujar
parent
363ad47a54
commit
07fa34730b
@@ -126,7 +126,7 @@ struct tegra210_adsp {
|
||||
struct tegra210_adsp_path {
|
||||
uint32_t fe_reg;
|
||||
uint32_t be_reg;
|
||||
} pcm_path[ADSP_FE_END+1][2];
|
||||
} pcm_path[ADSP_FE_COUNT+1][2];
|
||||
};
|
||||
|
||||
static const struct snd_pcm_hardware adsp_pcm_hardware = {
|
||||
|
||||
Reference in New Issue
Block a user