Searched hist:"3 dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/video/ |
| H A D | ipu_regs.h | 3dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b Fri Nov 27 02:00:10 UTC 2015 Peng Fan <Peng.Fan@freescale.com> 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>
|
| H A D | ipu_disp.c | 3dbdb4dd4f8e5847b8f7d6dbd849e0b9a0907a5b Fri Nov 27 02:00:10 UTC 2015 Peng Fan <Peng.Fan@freescale.com> 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>
|