Re: [patch] i2c: qup: off by ones in qup_i2c_probe()

Wolfram Sang
2014-04-03T08:35:32Z

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

On Thu, Apr 03, 2014 at 10:22:54AM +0300, Dan Carpenter wrote:
> These should ">= ARRAY_SIZE()" instead of "> ARRAY_SIZE()".
>
> Fixes: 10c5a8425968 ('i2c: qup: New bus driver for the Qualcomm QUP I2C controller')
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Ah, right. I misinterpreted the smatch message, thought it was a false
positive :(

Applied to for-next, thanks!

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]