Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp374440rdb; Thu, 21 Dec 2023 11:36:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IGF1w0QDx5gJMMPCF2mqVtvSh4O6Ft4frPA7b4ZmbKm9vfxNq2Zf1F+s/63NZZ43zRUR+Zy X-Received: by 2002:a05:6402:712:b0:553:2e17:91ed with SMTP id w18-20020a056402071200b005532e1791edmr50700edx.79.1703187389485; Thu, 21 Dec 2023 11:36:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703187389; cv=none; d=google.com; s=arc-20160816; b=hCDjLUjFMD2NAZYdyDkJwW9krJ939rxVuNFX5nSWsgnPlzfix6OvUMao8uAoGBQuRV 4nvNxXWY3PUOTDU1BDkBZTQ9hMDpTEZnapxueyEVYnAUyN8HYt2iOfrBPTOYYqM4nleZ JuIKyLjBZY6KSHkmDcSRrraOGb7vkUT98O/61/Wy868H8z3LJUHubV/Yzmcmof4rQPEv /J0/sip/mmQBxHdpnseuFOloSFT1fgGS4EJUDsHZrmPElQozBGiLtnEX3otxxh1ZJPgd pp7Q5ayijuEV6fHCLzUQ+CRUiZu9uHj1Zua5DLi6Q/zgxmOyts8ETQreFe4/M9Jj2Ghi uhhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :cc:to:from:date:dkim-signature; bh=vPc8thH3C7HWk4KTsdpmJPeYei58JpYABE0eXOWLITk=; fh=MOpFZZnbuQTdNM/Ls1dXx8PHZ6/dA1cUDOagD2z/VLs=; b=njxOnC0Ec11Kv4qwFJh4IQmJ3IqkherPsyTRt8uiNCLwqcC7Rt0YXZfisOMFhKXgKI UW+6EvsxHixB/kxEr//BOJcQQSWJBMMSHvncU00y+1rnrmXJzVLfAcfDE0Zl5O2s5+uq OCZYuFxwbw4LgXwwA3FPX45DC9cSPcMm3pB3uqdf4sz2uQsbOWsHTn1zIejysYXe+EJH jaSzsCoWq8nobj/Rl42PVH3yh69+wLF9e46A3QhwPSyBuqvMrnBMIFmmU1+ooOK/jHJW 9FmN+65L/HWONK8DVXJMKenJE0WLhrR5jlFz3KmNOYam4aU3d1FLZ7LeCYziFPvLzAPK 5cig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=pXihLVnJ; spf=pass (google.com: domain of linux-kernel+bounces-9005-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9005-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y17-20020a056402359100b0054c556eaad9si1131939edc.200.2023.12.21.11.36.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 11:36:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9005-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@hugovil.com header.s=x header.b=pXihLVnJ; spf=pass (google.com: domain of linux-kernel+bounces-9005-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9005-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 395701F23F88 for ; Thu, 21 Dec 2023 19:36:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5555651BF; Thu, 21 Dec 2023 19:36:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hugovil.com header.i=@hugovil.com header.b="pXihLVnJ" X-Original-To: linux-kernel@vger.kernel.org Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14A1A33988; Thu, 21 Dec 2023 19:36:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=hugovil.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hugovil.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:Mime-Version:Message-Id:Cc:To:From :Date:subject:date:message-id:reply-to; bh=vPc8thH3C7HWk4KTsdpmJPeYei58JpYABE0eXOWLITk=; b=pXihLVnJV0TtPIGJgQBjxclwAX 5Bb/jRQwN2oSZS2a+1T9sC0aWOcHeWzpzTn46B4/Kek2A5ADwbNIvEUY9wwI1Jwd2jacpt2mULHsw jC89PIRAnPmOulL4ayxTfNxdNdJWMPMn5kW3HXc1hGpfA2iDzZZmzv5Euyp/b5oMpgdk=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:51258 helo=pettiford) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1rGOpl-0000GN-VW; Thu, 21 Dec 2023 14:35:54 -0500 Date: Thu, 21 Dec 2023 14:35:53 -0500 From: Hugo Villeneuve To: Andy Shevchenko Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, jringle@gridpoint.com, kubakici@wp.pl, phil@raspberrypi.org, bo.svangard@embeddedart.se, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Hugo Villeneuve , stable@vger.kernel.org Message-Id: <20231221143553.57a180880d30b86257ee9b7c@hugovil.com> In-Reply-To: References: <20231219171903.3530985-1-hugo@hugovil.com> <20231219171903.3530985-16-hugo@hugovil.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Level: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 T_SCC_BODY_TEXT_LINE No description available. * -3.8 NICE_REPLY_A Looks like a legit reply (A) Subject: Re: [PATCH 15/18] serial: sc16is7xx: pass R/W buffer in FIFO functions X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) On Wed, 20 Dec 2023 17:57:59 +0200 Andy Shevchenko wrote: > On Tue, Dec 19, 2023 at 12:18:59PM -0500, Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > > > To simplify function by avoiding cast. > > > > This is similar to what is done in max310x driver. > > ... > > > --- > > If deemed appropriate for stable kernel backporting: > > I don't think it's eligible. No problem. > > --- > > I don't see the necessity of the change, OTOH it's harmless. > The problem is that commit message is basically "Yeah, we > do cargo cult." Because I haven't seen what casting you are > talking about. I'll try to reword the commit message. And replace cast with something like "... to remove additional struct sc16is7xx_port variable..." Hugo Villeneuve