Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4152584rwe; Tue, 30 Aug 2022 05:39:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR768iM9YONPe5wJMTxj0+vP6RatRam50BRZci7LcuBYpqScNbNl2eXvE+1NqGTv5bdG0AgG X-Received: by 2002:a17:903:2411:b0:172:ba7e:e54d with SMTP id e17-20020a170903241100b00172ba7ee54dmr21384549plo.165.1661863143795; Tue, 30 Aug 2022 05:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661863143; cv=none; d=google.com; s=arc-20160816; b=Zw6pV+LZXEgaCDRp8/tCiWh5HEsjiDk5OF9A99iWhdJMmoGO2YWbOe9Rpcxuo4Yc4B Xc1cuFZJBcR/cLmGvZGJ9jp0FKd4J7c/KZgm3jXaRXO/UhXJ11Eg8U1wMT8pTPLAffiY cXs8w8krj3mdascd1uGBLT5JiElLtiBqOU1bYU6Xm4VbJEmf2eSL31byAmWCQ2+NvF5M 28GLfKToUm+GpTplpoNhXCWfO6GqgHByxf0LsopCCoQrN/bUELyHFO23YRYHvqoBwQCY oZ8D+Yk3Ek9hFA3R36CcO7CbVFwxSPJrxpm3l9+QpHVNtrBeODejw7fthYgs8ZeEiKvI 9b8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7KGz6BsZ585v4u2DxTdzJFxTtjDSiB2tZqwaMcBapvQ=; b=dMreT7ypU7imTeDEKXKf7uWo9cEBj8Z5pxzXL5XrbdFahmSZhrPLsdV2stv3IC2PLC K1QL7WngFve7hzNf4JHnHWmelRPCbfybO91EUtauWzFcYlEjsIodVw4r0DsWOejJwA1V cFi8Z7KT+OH4LOiJBYOGObvWTYQr6yILK3h2FmsLmW12uipvh5P5GgnNsxDn4QrkKKqg 4AkkqPRrkxQ9YoHlUq+lCp+iWxo1QsLmEwcEkB+RI9FX32ZRgAA3tD00fkc3cm1QoAb+ qQqxLT/T5QXIU32Dm4TDNmUR0AkckXRv+qNvyq6mjKUbK8UUSdcI+BWTaBXfu2qMXIQ5 tpKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RCXeyYMV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w5-20020a170902d3c500b00174ef093ad5si3521441plb.156.2022.08.30.05.38.52; Tue, 30 Aug 2022 05:39:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RCXeyYMV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229659AbiH3M1u (ORCPT + 99 others); Tue, 30 Aug 2022 08:27:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbiH3M1s (ORCPT ); Tue, 30 Aug 2022 08:27:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C17AAEE4A9; Tue, 30 Aug 2022 05:27:47 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2966061639; Tue, 30 Aug 2022 12:27:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A5E3C433C1; Tue, 30 Aug 2022 12:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661862466; bh=PQYZ/r6Gr5Qfqj/mCk/zkVVD3syvW86HiTgqReROAuc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RCXeyYMV+ZpxYv+P74n6Wv9v7fRgfvYEIkpf4ztEkdfEt6DOY2U+blyTGTJFyAA3P weyNeOvsi8/S9qd3hpyMPamJWtj21Y+XgT1193jkIQFhn3aZQidSliABCJKT6KzDOw BQYglbT/m8mHjzOEzgFy9Uh9Lu8vAASrkoYeBtzI= Date: Tue, 30 Aug 2022 14:27:43 +0200 From: Greg Kroah-Hartman To: Ilpo =?iso-8859-1?Q?J=E4rvinen?= Cc: Jiri Slaby , linux-serial@vger.kernel.org, Stephen Warren , Alan Cox , Laxman Dewangan , Thierry Reding , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] serial: Create uart_xmit_advance() Message-ID: References: <20220825091707.8112-1-ilpo.jarvinen@linux.intel.com> <20220825091707.8112-2-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220825091707.8112-2-ilpo.jarvinen@linux.intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 25, 2022 at 12:17:05PM +0300, Ilpo J?rvinen wrote: > A very common pattern in the drivers is to advance xmit tail > index and do bookkeeping of Tx'ed characters. Create > uart_xmit_advance() to handle it. > > Fixes: e9ea096dd225 ("serial: tegra: add serial driver") > Fixes: 2d908b38d409 ("serial: Add Tegra Combined UART driver") This commit only adds a new function, it does not "Fix" anything :(