[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADVatmMBMgk1Uga46FWs4CysiCQ2JQhyfSyp4OK1VDnLdAXSCg@mail.gmail.com>
Date: Mon, 3 Oct 2022 12:19:14 +0100
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Bjorn Helgaas <helgaas@...nel.org>, linux-kernel@...r.kernel.org,
"Maciej W. Rozycki" <macro@...am.me.uk>
Subject: Re: [PATCH] parport_pc: Avoid FIFO port location truncation
On Fri, Sep 23, 2022 at 7:52 PM Maciej W. Rozycki <macro@...am.me.uk> 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@...am.me.uk>
> 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@...il.com>
Greg, can you please add it to your tree. I know I am late and the
merge window is now open.
--
Regards
Sudip
Powered by blists - more mailing lists