Re: [patch] OMAPDSS: reading past end of array in dispc_dump_regs()

2012-12-17 Thread Tomi Valkeinen
On 2012-12-14 17:01, Dan Carpenter wrote: We added another kind of plane in 66a0f9e4ac OMAPDSS: Use WB fifo for GFX overlay so this array needs a new entry as well. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Static checker work. I don't have a way to test this. diff --git

Re: [patch] OMAPDSS: reading past end of array in dispc_dump_regs()

2012-12-17 Thread Dan Carpenter
On Mon, Dec 17, 2012 at 02:09:00PM +0200, Tomi Valkeinen wrote: Why does the static checker think OMAP_DSS_WB is needed in the array? drivers/video/omap2/dss/dispc.c +3284 3274 #define DISPC_REG(plane, name, i) name(plane, i) 3275 #define DUMPREG(plane, name, i) \ 3276

[patch] OMAPDSS: reading past end of array in dispc_dump_regs()

2012-12-14 Thread Dan Carpenter
We added another kind of plane in 66a0f9e4ac OMAPDSS: Use WB fifo for GFX overlay so this array needs a new entry as well. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Static checker work. I don't have a way to test this. diff --git a/drivers/video/omap2/dss/dispc.c