Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156269
b: refs/heads/master
c: 6b4dbcd
h: refs/heads/master
i:
  156267: caf062c
v: v3
  • Loading branch information
Michael Buesch authored and Helge Deller committed Aug 2, 2009
1 parent aeabf4c commit b1c74ff
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: 450d6e306b4717bfae11218a02648509baf04ce1
refs/heads/master: 6b4dbcd86a9d464057fcc7abe4d0574093071fcc
2 changes: 1 addition & 1 deletion trunk/drivers/parisc/eisa_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static ssize_t eisa_eeprom_read(struct file * file,
ssize_t ret;
int i;

if (*ppos >= HPEE_MAX_LENGTH)
if (*ppos < 0 || *ppos >= HPEE_MAX_LENGTH)
return 0;

count = *ppos + count < HPEE_MAX_LENGTH ? count : HPEE_MAX_LENGTH - *ppos;
Expand Down

0 comments on commit b1c74ff

Please sign in to comment.