Re: [PATCH] regulator: ti-abb: Fix off-by-one valid range checkingfor abb->current_info_idx

From: Mark Brown
Date: Sun May 05 2013 - 06:23:38 EST


On Sat, May 04, 2013 at 10:02:27PM +0800, Axel Lin wrote:
> abb->current_info_idx is used as array subscript to access volt_table,
> thus the valid value range should be 0 ... desc->n_voltages - 1.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature