pcmcia: replace kio_addr_t with unsigned int everywhere
Remove kio_addr_t, and replace it with unsigned int. No known architecture needs more than 32 bits for IO addresses and ports and having a separate type for it is just messy. Signed-off-by: Olof Johansson <olof@lixom.net> Cc: Christoph Hellwig <hch@lst.de> Cc: Matthew Wilcox <matthew@wil.cx> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

vanhempi
ecb8a8472f
commit
906da809c5
@@ -719,7 +719,7 @@ static int tcic_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *io)
|
||||
u_short base, len, ioctl;
|
||||
|
||||
debug(1, "SetIOMap(%d, %d, %#2.2x, %d ns, "
|
||||
"%#lx-%#lx)\n", psock, io->map, io->flags,
|
||||
"%#x-%#x)\n", psock, io->map, io->flags,
|
||||
io->speed, io->start, io->stop);
|
||||
if ((io->map > 1) || (io->start > 0xffff) || (io->stop > 0xffff) ||
|
||||
(io->stop < io->start)) return -EINVAL;
|
||||
|
Viittaa uudesa ongelmassa
Block a user