From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCA05C433FE for ; Mon, 3 Oct 2022 13:58:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229844AbiJCN6i (ORCPT ); Mon, 3 Oct 2022 09:58:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbiJCN6a (ORCPT ); Mon, 3 Oct 2022 09:58:30 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF6911DA79 for ; Mon, 3 Oct 2022 06:58:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4C7C4B81110 for ; Mon, 3 Oct 2022 13:58:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C548C433C1; Mon, 3 Oct 2022 13:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1664805506; bh=eNwXmrocRnNNUcuMMsE6v2dqTG9K6Tq7/ZtcukGdhbY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=penVF7Ux8JuBbh0MuE26dghBD5ugkGkEYl+E/7w2dfSCoZp7Uhdb+B/KcjjqyOwL4 OafCJgDtMoiInGaj3eeDg6O/hQKPDNi86NAsxVcFWygq3Zect++f8wgHoTM9pC4MVF jpANr4q4mKNOROc1ac802goR8NzHBD/dIenmMgjQ= Date: Mon, 3 Oct 2022 15:58:24 +0200 From: Greg Kroah-Hartman To: Sudip Mukherjee Cc: Bjorn Helgaas , linux-kernel@vger.kernel.org, "Maciej W. Rozycki" Subject: Re: [PATCH] parport_pc: Avoid FIFO port location truncation Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 > > 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 > > 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. greg k-h