diff options
author | minal u <mugale@nvidia.com> | 2016-12-15 06:30:25 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-21 01:05:55 -0500 |
commit | 2b7e74fca431e06b1376264a993e87ae479eef8e (patch) | |
tree | 1ced734415ba1fcee66b94067ee5a46a2f71a8d5 /drivers/dma/tegra186-gpc-dma.c | |
parent | 7ecb4da3d292a6e71b2596fa4bfd33316c564c43 (diff) |
t18x: dma: fix for KASAN Bugs
Fix for the out of bounds error in
the variable tegra_dma_devtype.
Bug 200248724
Change-Id: Ib57b375333c22ce11451c380c9e47e2cd3de3486
Signed-off-by: minal u <mugale@nvidia.com>
Reviewed-on: http://git-master/r/1271811
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/dma/tegra186-gpc-dma.c')
-rw-r--r-- | drivers/dma/tegra186-gpc-dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/tegra186-gpc-dma.c b/drivers/dma/tegra186-gpc-dma.c index f8710b3a0..6229893f2 100644 --- a/drivers/dma/tegra186-gpc-dma.c +++ b/drivers/dma/tegra186-gpc-dma.c | |||
@@ -1673,6 +1673,7 @@ static struct platform_device_id tegra_dma_devtype[] = { | |||
1673 | { | 1673 | { |
1674 | .name = "tegra186-gpcdma", | 1674 | .name = "tegra186-gpcdma", |
1675 | .driver_data = (unsigned long)&tegra186_dma_chip_data, | 1675 | .driver_data = (unsigned long)&tegra186_dma_chip_data, |
1676 | }, { | ||
1676 | }, | 1677 | }, |
1677 | }; | 1678 | }; |
1678 | 1679 | ||