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 A88D3C6FA91 for ; Tue, 20 Sep 2022 14:25:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231565AbiITOZm (ORCPT ); Tue, 20 Sep 2022 10:25:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231284AbiITOZQ (ORCPT ); Tue, 20 Sep 2022 10:25:16 -0400 X-Greylist: delayed 464 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 20 Sep 2022 07:25:03 PDT Received: from sym2.noone.org (sym.noone.org [IPv6:2a01:4f8:120:4161::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFA9E2ED62; Tue, 20 Sep 2022 07:25:03 -0700 (PDT) Received: by sym2.noone.org (Postfix, from userid 1002) id 4MX3Vb5b66zvjfm; Tue, 20 Sep 2022 16:15:50 +0200 (CEST) Date: Tue, 20 Sep 2022 16:15:50 +0200 From: Tobias Klauser To: Jiri Slaby Cc: gregkh@linuxfoundation.org, Ilpo =?iso-8859-1?Q?J=E4rvinen?= , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 03/10] tty: serial: altera_uart_{r,t}x_chars() need only uart_port Message-ID: <20220920141546.7l4ck3swchke5oho@distanz.ch> References: <20220920052049.20507-1-jslaby@suse.cz> <20220920052049.20507-4-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220920052049.20507-4-jslaby@suse.cz> User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On 2022-09-20 at 07:20:43 +0200, Jiri Slaby wrote: > Both altera_uart_{r,t}x_chars() need only uart_port, not altera_uart. So > pass the former from altera_uart_interrupt() directly. > > Apart it maybe saves a dereference, this makes the transition of > altera_uart_tx_chars() easier to follow in the next patch. > > Cc: Tobias Klauser > Signed-off-by: Jiri Slaby Acked-by: Tobias Klauser