Received: by 2002:a05:7412:d024:b0:f9:90c9:de9f with SMTP id bd36csp131924rdb; Wed, 20 Dec 2023 08:04:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IE0wbqLgmzvjOZ6Bewcs6wTZo7rf+nd9HP/i6UdZ5Fs26hQ0PLCCKH41aA8e+m1FNqgwFOr X-Received: by 2002:a05:6a20:8f14:b0:18c:15ec:3058 with SMTP id b20-20020a056a208f1400b0018c15ec3058mr11940813pzk.4.1703088276011; Wed, 20 Dec 2023 08:04:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703088275; cv=none; d=google.com; s=arc-20160816; b=NH7ErnHKrJ0axkUPZGTjORG3fzQ3VBMTiseEVQ8pQCPq8XQC3kP3fWiKs/9GToM1zE yD7qNaVT+3MWsdBeUXciZVqLaSP4xUOFJxnSUIr3kbaZodW/8isHxr/kHou0TVWEEH6n Yl0ky1ScFgoTiKC00ossSlbSvT3dhwdF4Mh00TEe9zeV6ofrm9TI8bNvgm5kgk9KYEuC WoDKwNJe3OKXZgo75pOjfENu7ckMlWPlw+kglvkVDskaWjzhpl1xzqr/opZaU1MXGR5V /UO/PMLYgUu+WweqPIQniixn4uWCIsIaEWuzECZQiX2ANS0QXEb6D0J6l0C0KT19IrRt WFeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=QtK6IpNF/Vvqt4ObI+X3EyjqV0ZqHYfnvjqpLYZNPWA=; fh=oWFj1HPwiu9zJJ1lym9G4qUj25jFSQwP9xY3cFZv6o8=; b=pdXBshZYsa4zWsc6L1VuvGb65xTOwUWEeAxEFC+dx5y7fbTvfNSFR9/H293rt7nBQM gqR9szukFO3Toiv3tn+X07HbkZVvV03K8MV9714bxbUetLSatOdLaRf8tIkxo1xShuqj jIutQgyFKsIZk5Xa8M8ZJJV+FQw2sbleVvfsQleoQ+iIQfsl11a2bGr4ceP4NS2IpyQT QuX2VaLDsBOrNJ9LOlP1ywWeXpF18wg+4imnHvJRGMVJrEfyBm66AMfqyiw60Omap72f pw+zC3TPjG0knQd3OOS9Mlw2wmlSN2tNisz7UedoP9SlR02cayo3zy9PUeD9oPLD4kPz 3pPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hi7fM2zJ; spf=pass (google.com: domain of linux-kernel+bounces-7222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m7-20020a635807000000b005c673949a8dsi21572805pgb.129.2023.12.20.08.04.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 08:04:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hi7fM2zJ; spf=pass (google.com: domain of linux-kernel+bounces-7222-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5E65BB214A1 for ; Wed, 20 Dec 2023 15:59:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F9F541848; Wed, 20 Dec 2023 15:58:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hi7fM2zJ" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 5C94640C08; Wed, 20 Dec 2023 15:58:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703087888; x=1734623888; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=E1GlkXmlweQP+n3h7Z9iPg2DFXrdFol7FxqzfRAKa1E=; b=hi7fM2zJZJnJ3PVQN4cHDQzxApIfx0/orOZjKEacbmpt3zguXIl2Or29 XRpzMo4A1qFFSrdDBtGer8GQayrQbHKte/9W/1Z2hihCV8cTG7Mk1xV4Y JHiBG86w4/GKIHbRotK57Qwk8367yVqcRbxNsZ+4uZJT9eHU/wAN5c5MS QmhtAiW3EEbuVwb0MyRo1Z03aAZEk5fa6vrAnXxcojCsA6CP69gIOxpiu bp0dmdxGlz7OiZKqBZMclM8gX8kCoi/pxvlFejs0izvzm/iPhypZPxKt3 S2Mx8RS2H8DOH5rLZFTGrDXtI8QzRcnimJX+RyJX6wblHZvG2+MExD0gv A==; X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="9298353" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="9298353" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 07:58:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="752606023" X-IronPort-AV: E=Sophos;i="6.04,291,1695711600"; d="scan'208";a="752606023" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2023 07:58:03 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rFyxM-00000007atZ-0YZu; Wed, 20 Dec 2023 17:58:00 +0200 Date: Wed, 20 Dec 2023 17:57:59 +0200 From: Andy Shevchenko To: Hugo Villeneuve 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 Subject: Re: [PATCH 15/18] serial: sc16is7xx: pass R/W buffer in FIFO functions Message-ID: References: <20231219171903.3530985-1-hugo@hugovil.com> <20231219171903.3530985-16-hugo@hugovil.com> 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-Disposition: inline In-Reply-To: <20231219171903.3530985-16-hugo@hugovil.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo 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. > --- 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. -- With Best Regards, Andy Shevchenko