Re: [PATCH] parport_pc: Avoid FIFO port location truncation
From: Greg Kroah-Hartman
Date: Mon Oct 03 2022 - 09:58:51 EST
On Mon, Oct 03, 2022 at 12:19:14PM +0100, Sudip Mukherjee wrote:
> 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.
Will have to wait until 6.1-rc1 is out, I'll take it then, thanks.