Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207871
b: refs/heads/master
c: 2190a1e
h: refs/heads/master
i:
  207869: d7f846e
  207867: 1feb0c0
  207863: 42b921d
  207855: 80e183f
  207839: 4a7a53e
  207807: 79917b2
  207743: 2d510f4
  207615: 2cf5886
  207359: 361bb93
  206847: 29db891
v: v3
  • Loading branch information
Geert Uytterhoeven committed Aug 9, 2010
1 parent 965a52d commit e428368
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: d50ac468dd023db32c9455b2df56237caf601cbd
refs/heads/master: 2190a1e7705456c2298873b2547a6eb19b8e31ae
2 changes: 1 addition & 1 deletion trunk/drivers/zorro/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ proc_bus_zorro_read(struct file *file, char __user *buf, size_t nbytes, loff_t *
cd.cd_BoardAddr = (void *)zorro_resource_start(z);
cd.cd_BoardSize = zorro_resource_len(z);

if (copy_to_user(buf, &cd, nbytes))
if (copy_to_user(buf, (void *)&cd + pos, nbytes))
return -EFAULT;
*ppos += nbytes;

Expand Down

0 comments on commit e428368

Please sign in to comment.