Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200241
b: refs/heads/master
c: 7504794
h: refs/heads/master
i:
  200239: d61a199
v: v3
  • Loading branch information
Dan Carpenter authored and Dave Airlie committed Jun 8, 2010
1 parent 21d8b35 commit 9db44e4
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: 55a4c5c515c1f4b4bde00c443e71ff9f3822013e
refs/heads/master: 75047944480a33afad76a272b21116d032ba61fa
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ init_i2c_device_find(struct drm_device *dev, int i2c_index)
if (i2c_index == 0x81)
i2c_index = (dcb->i2c_default_indices & 0xf0) >> 4;

if (i2c_index > DCB_MAX_NUM_I2C_ENTRIES) {
if (i2c_index >= DCB_MAX_NUM_I2C_ENTRIES) {
NV_ERROR(dev, "invalid i2c_index 0x%x\n", i2c_index);
return NULL;
}
Expand Down

0 comments on commit 9db44e4

Please sign in to comment.