diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-09-23 01:20:31 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-22 17:48:56 -0700 |
commit | 634965f5cfda1763f51e7916cfa49265b70e2a8d (patch) | |
tree | d8b1dce2b96fb7e63e558085f2a80eb369f62268 /drivers/char/istallion.c | |
parent | cc9bd99e9adfa4f44ea050a63fb41a3f764acf84 (diff) | |
download | linux-634965f5cfda1763f51e7916cfa49265b70e2a8d.tar.bz2 |
[PATCH] memcpy_fromio() missing in istallion
memcpy() from iomem is a bad thing...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/istallion.c')
-rw-r--r-- | drivers/char/istallion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c index 84dfc4278139..8c09997cc3d6 100644 --- a/drivers/char/istallion.c +++ b/drivers/char/istallion.c @@ -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)) |