Re: [U-Boot] [Patch v2] drivers/ddr: Fix possible out of bounds error

2014-04-23 Thread York Sun
On 04/16/2014 06:31 PM, York Sun wrote: > This is a theoretical possible out of bounds error in DDR driver. Adding > check before using array index. Also change some runtime conditions to > pre-compiling conditions. > > Signed-off-by: York Sun > --- > Change log: > v2: Revise subject and commit

[U-Boot] [Patch v2] drivers/ddr: Fix possible out of bounds error

2014-04-16 Thread York Sun
This is a theoretical possible out of bounds error in DDR driver. Adding check before using array index. Also change some runtime conditions to pre-compiling conditions. Signed-off-by: York Sun --- Change log: v2: Revise subject and commit message drivers/ddr/fsl/ctrl_regs.c |8 ++-- drive