Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105549
b: refs/heads/master
c: a882ef4
h: refs/heads/master
i:
  105547: e3dda7e
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Jul 24, 2008
1 parent 89514f0 commit 7004b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: 1c554ff9554d67b4db0fb5e2f78c7cb4b2e0d627
refs/heads/master: a882ef47c7156e8cc47e72f2aa396f2514569c48
10 changes: 1 addition & 9 deletions trunk/drivers/video/aty/radeon_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2098,15 +2098,7 @@ static void radeon_identify_vram(struct radeonfb_info *rinfo)

static ssize_t radeon_show_one_edid(char *buf, loff_t off, size_t count, const u8 *edid)
{
if (off > EDID_LENGTH)
return 0;

if (off + count > EDID_LENGTH)
count = EDID_LENGTH - off;

memcpy(buf, edid + off, count);

return count;
return memory_read_from_buffer(buf, count, &off, edid, EDID_LENGTH);
}


Expand Down

0 comments on commit 7004b8f

Please sign in to comment.