Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185503
b: refs/heads/master
c: b762b8c
h: refs/heads/master
i:
  185501: 9d7fd89
  185499: 667b4f2
  185495: f936d96
  185487: e6de337
  185471: 9320478
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Feb 25, 2010
1 parent 2519c8d commit fadc56f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: df31ef4dbd48eca2772d8d88b12ee5eb5117c86e
refs/heads/master: b762b8ce53da7c7a7a4d660878887681c86be61b
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ nouveau_i2c_find(struct drm_device *dev, int index)
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct nvbios *bios = &dev_priv->VBIOS;

if (index > DCB_MAX_NUM_I2C_ENTRIES)
if (index >= DCB_MAX_NUM_I2C_ENTRIES)
return NULL;

if (!bios->bdcb.dcb.i2c[index].chan) {
Expand Down

0 comments on commit fadc56f

Please sign in to comment.