Re: [PATCH] parport_pc: Avoid FIFO port location truncation

From: Sudip Mukherjee
Date: Mon Oct 03 2022 - 07:20:01 EST


On Fri, Sep 23, 2022 at 7:52 PM Maciej W. Rozycki <macro@xxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxx>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
> Link: https://lore.kernel.org/linux-pci/20220419033752.GA1101844@bhelgaas/

Thanks for the patch Maciej.

Acked-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>

Greg, can you please add it to your tree. I know I am late and the
merge window is now open.


--
Regards
Sudip