]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
serial: Make uart_port's ioport "unsigned long".
authorDavid Miller <davem@davemloft.net>
Mon, 13 Oct 2008 09:35:23 +0000 (10:35 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:39 +0000 (09:51 -0700)
commit0c8946d97ae7d2d6691f8290a10faa63453b63f8
tree1301af045b9f22fe2598ce0f2107ce356b15c5cb
parent7459b6ff36ab5e7d160980c3cb2be2f8cd194778
serial: Make uart_port's ioport "unsigned long".

Otherwise the top 32-bits of the resource value get chopped
off on 64-bit systems, and the resulting I/O accesses go to
random places.

Thanks to testing and debugging by Josip Rodin, which helped
track this down.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/serial_core.h