Skip to content

Commit

Permalink
[PATCH] memcpy_fromio() missing in istallion
Browse files Browse the repository at this point in the history
memcpy() from iomem is a bad thing...

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 23, 2006
1 parent cc9bd99 commit 634965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/istallion.c
Original file line number Diff line number Diff line change
Expand Up @@ -3488,7 +3488,7 @@ static int stli_initecp(stlibrd_t *brdp)
*/
EBRDENABLE(brdp);
sigsp = (cdkecpsig_t __iomem *) EBRDGETMEMPTR(brdp, CDK_SIGADDR);
memcpy(&sig, sigsp, sizeof(cdkecpsig_t));
memcpy_fromio(&sig, sigsp, sizeof(cdkecpsig_t));
EBRDDISABLE(brdp);

if (sig.magic != cpu_to_le32(ECP_MAGIC))
Expand Down

0 comments on commit 634965f

Please sign in to comment.