Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4090013rwb; Tue, 20 Sep 2022 08:40:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6MJC3L6SRI1JYy452YQvVK5YrSLAvy3wqe38eMAnNyUCjcwngnPmsebWQJTXNbPgJAiKPB X-Received: by 2002:a05:6a00:22c7:b0:544:bbf0:8780 with SMTP id f7-20020a056a0022c700b00544bbf08780mr24015932pfj.80.1663688438725; Tue, 20 Sep 2022 08:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663688438; cv=none; d=google.com; s=arc-20160816; b=yAi6YOImpMbCp4oBqGssFV8TUtSgXVTq/e+9RiCHn01BahqSJrJR81yY+NukXvRnwR r+GzUnRryhpnykCWDlXnpVT8BXA7OC5sEZMApM2HLqBa8LbQL5UoH6AG+kPufghDN2/h kFtl4ix4w71ZB1UPGGWuD6YnSdVKehnVrw5AMuqZqtVYdasdFF+hZHctSTW+MwAYd+bc 6sUGwDi2smFIDVgl6fFutGN7WlzcraTKTGWEFp/XCWl7I/OfP8eN02BZiJlo7R7TF/iF oll+OXwUZTeUfGjnd9nTyfG1yz6hhBek8WMYPIdb6RIvv4x50XZFdfn/uGkYa5gU0uZO RMgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=OQjjTiJG7Fm+790nKnA5qQcT3LNlXVd+fRmKoAeBVtQ=; b=i8ElwfPtOcjjnjX71YlIqHGPTUj1piFJnC0p5RStWN99B6lXJ5IvVtu5LwUpd+lfjr FERsL6K6nv7CCSfvJxzXEIaCmJXOxfsTVeKMyUuO2RiqxCnYAlmaBob2d5OXJPnKiWNr WkkBarecCRH81SuRwfUJnvaXDO7vjmwyoa0VozO2s6iEVkMDxl1IhuhyIZGfwIfJrJab +WWqlnBJOdR0R+EH29fpkxWmjThETV+q2IVCttNPv6RxHu5bYXEvncj9iV+rUN30nhXv HSWcocvV8aGihRJBBNR3GEH4uUOYVhou5e8Upo+zXJw89M8vNroZ2rZ6O7rsnWFy/iGs Fx4w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a6541c7000000b00439db248b10si39738pgq.606.2022.09.20.08.40.26; Tue, 20 Sep 2022 08:40:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231455AbiITOZp (ORCPT + 99 others); Tue, 20 Sep 2022 10:25:45 -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) X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE autolearn=no 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 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