summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ds1621.c
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-11-27 10:00:10 +0800
committerAnatolij Gustschin <agust@denx.de>2015-11-30 09:18:36 +0100
commit3dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b (patch)
tree77281057a3c7fca791535702e432ec46c55b3df5 /drivers/hwmon/ds1621.c
parent05bfe1321024e2ae0039dc16f17d2165610fb4fd (diff)
downloadu-boot-imx-3dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b.zip
u-boot-imx-3dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b.tar.gz
u-boot-imx-3dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b.tar.bz2
video: ipu: fix out of bounds access
We need to access reg stp_rep9, but not stp_rep[(9 - 1) / 2]. If using "__raw_writel(0, DI_STP_REP(disp, 9))", this will exceeds the size of stp_rep array. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Acked-by: Liu Ying <Ying.Liu@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/hwmon/ds1621.c')
0 files changed, 0 insertions, 0 deletions