Skip to content

Commit 19e59df

Browse files
committed
[POWERPC] iseries: eliminate a couple of warnings
Copy and paste bug in io.h Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
1 parent 5adcaf5 commit 19e59df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • include/asm-powerpc

‎include/asm-powerpc/io.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ extern unsigned long pci_io_base;
6868
* for older code.
6969
*/
7070
#define insb(port, buf, ns) _insb((u8 __iomem *)((port)+pci_io_base), (buf), (ns))
71-
#define insw(port, buf, ns) _insw_ns((u8 __iomem *)((port)+pci_io_base), (buf), (ns))
72-
#define insl(port, buf, nl) _insl_ns((u8 __iomem *)((port)+pci_io_base), (buf), (nl))
71+
#define insw(port, buf, ns) _insw_ns((u16 __iomem *)((port)+pci_io_base), (buf), (ns))
72+
#define insl(port, buf, nl) _insl_ns((u32 __iomem *)((port)+pci_io_base), (buf), (nl))
7373

7474
#else
7575

0 commit comments

Comments
 (0)