kernel-hacking-2024-linux-s.../drivers/parport
Maciej W. Rozycki ab126f51c9 parport_pc: Avoid FIFO port location truncation
Match the data type of a temporary holding a reference to the FIFO port
with the type of the original reference coming from `struct parport',
avoiding data truncation with LP64 ports such as SPARC64 that refer to
PCI port I/O locations via their corresponding MMIO addresses and will
therefore have non-zero bits in the high 32-bit part of the reference.
And in any case it is cleaner to have the data types matching here.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Link: https://lore.kernel.org/linux-pci/20220419033752.GA1101844@bhelgaas/
Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2209231912550.29493@angie.orcam.me.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-09 15:40:32 +01:00
..
BUGS-parport
daisy.c
ieee1284.c
ieee1284_ops.c
Kconfig
Makefile
multiface.h
parport_amiga.c
parport_atari.c
parport_ax88796.c
parport_cs.c
parport_gsc.c
parport_gsc.h
parport_ip32.c
parport_mfc3.c
parport_pc.c parport_pc: Avoid FIFO port location truncation 2022-11-09 15:40:32 +01:00
parport_serial.c
parport_sunbpp.c
probe.c
procfs.c
share.c
TODO-parport