drm/nouveau: fix nouveau_i2c_find bounds checking
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Wed, 17 Feb 2010 18:04:01 +0000 (19:04 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 25 Feb 2010 05:09:09 +0000 (15:09 +1000)
commitb762b8ce53da7c7a7a4d660878887681c86be61b
tree8653890cb4e59a200244878a35c52532f238f287
parentdf31ef4dbd48eca2772d8d88b12ee5eb5117c86e
drm/nouveau: fix nouveau_i2c_find bounds checking

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_i2c.c