Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286772
b: refs/heads/master
c: 211fa4f
h: refs/heads/master
v: v3
  • Loading branch information
Igor Murzov authored and Dave Airlie committed Jan 24, 2012
1 parent c48f6bb commit 087a76b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: a3f83ab1a717c0e6c2f59a4cfdaa10707cc35c55
refs/heads/master: 211fa4fc4e13492151e698d92b0dff56b29928ec
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/radeon/radeon_atpx_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int radeon_atrm_call(acpi_handle atrm_handle, uint8_t *bios,
obj = (union acpi_object *)buffer.pointer;
memcpy(bios+offset, obj->buffer.pointer, obj->buffer.length);
kfree(buffer.pointer);
return len;
return obj->buffer.length;
}

bool radeon_atrm_supported(struct pci_dev *pdev)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/drm/radeon/radeon_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ static bool radeon_atrm_get_bios(struct radeon_device *rdev)
ret = radeon_atrm_get_bios_chunk(rdev->bios,
(i * ATRM_BIOS_PAGE),
ATRM_BIOS_PAGE);
if (ret <= 0)
if (ret < ATRM_BIOS_PAGE)
break;
}

Expand Down

0 comments on commit 087a76b

Please sign in to comment.