[PATCH] trivial iomem annotations in qla2xxx/qla_dbg.c
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>
Fri, 9 Sep 2005 20:42:25 +0000 (21:42 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 21:05:54 +0000 (14:05 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/qla2xxx/qla_dbg.c

index 72bbaa91dc7778c66a2e6da7ad4540097912c9c3..9791496fa78844076de8192e5a907013312715ee 100644 (file)
@@ -1334,7 +1334,7 @@ qla24xx_fw_dump(scsi_qla_host_t *ha, int hardware_locked)
 
                dmp_reg = (uint32_t __iomem *)((uint8_t __iomem *)reg + 0xF0);
                WRT_REG_DWORD(dmp_reg, 0xB0200000);
-               dmp_reg = (uint32_t *)((uint8_t *)reg + 0xFC);
+               dmp_reg = (uint32_t __iomem *)((uint8_t __iomem *)reg + 0xFC);
                fw->shadow_reg[2] = RD_REG_DWORD(dmp_reg);
 
                dmp_reg = (uint32_t __iomem *)((uint8_t __iomem *)reg + 0xF0);