Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp582474iob; Tue, 3 May 2022 05:29:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxISrS01wKtR38UeSQrDaxu3qUAKXsY3CLu1iKE4tK3Tg97YB1a2cGH0BpCKJ11sF81DJ9Z X-Received: by 2002:a17:902:e34b:b0:15d:4d1:614 with SMTP id p11-20020a170902e34b00b0015d04d10614mr16977938plc.14.1651580971733; Tue, 03 May 2022 05:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651580971; cv=none; d=google.com; s=arc-20160816; b=P0mA+xAWwqSTCc3pCEo8aZOaxZdus63eNg5GZxKvh+YKAQH1m6a2/uSz29npLGGz7N aKY0/ChDj30WvVsc8DDLKJjeKGyA02p6KMIJVf7NrCEBwq26HKPDEPplUhQMtfgwZ5pU kcG3GJ1FPfadXfTdWLEEmu9+hvDD3crpRIPzmmrIKfgY9oXYK4cdgwuyApW9OS2A7x6p aH+mBnZLHDV3SKUmQhxsHpwOfnB3+zDbDAdEczfWqINH+H35ikEEQtP6NaCFIkHZhQMz 8mNr2x45TTtbUjM1anKSpEbbLj0+BO6HXbIgCZq7DStDV5CSNWV86Tr4lVSzOg+tSURQ 9WNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=pVdhTO58cA0WGYmIyIFXMLoTyXBBgEwBwsYTj6OYuVw=; b=qFinJ3ouexZ87wc+Rwolx7a9XHwXdjAnllCK/7lQH7OdOhDNQwhFbVmC2Xg08HK/XS V0aBGvo/AiihTbsi4FOs+x9qeUhXRP1CCl67XmeF7jJMcSD82LKj0H6N7dOYWG60Nhnr bqA5AJL9hYcuBlaolrdcjcADV0pG+B4sHkg7itEehDFx6RD9YDyxg4L7UgFbbu5Eu/Ea rc7UQBBo+Ks6P8NS8du6D6ld1VQGiSCDN3hLTL9JkKvFbUohJfjJraPEcAgCsuGvFws3 jMC1T0gJPgkA1YfbXq9FCbNWV+DAJS7VDW/3uCGIRHR1hwJrImh1pmTmaFy3l9wD18Mi ESBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=tBKKadKZ; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=ivRCD+Iq; 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 b8-20020a056a000cc800b0050a8e9acae6si16594382pfv.102.2022.05.03.05.29.16; Tue, 03 May 2022 05:29:31 -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=@suse.cz header.s=susede2_rsa header.b=tBKKadKZ; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=ivRCD+Iq; 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 S232647AbiECIJ4 (ORCPT + 99 others); Tue, 3 May 2022 04:09:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232614AbiECIJr (ORCPT ); Tue, 3 May 2022 04:09:47 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 276F220F51; Tue, 3 May 2022 01:06:15 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id CEC4D210E3; Tue, 3 May 2022 08:06:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1651565173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pVdhTO58cA0WGYmIyIFXMLoTyXBBgEwBwsYTj6OYuVw=; b=tBKKadKZaMewyIEkXunzu47o2dCvAecpQNIQ39WOQL/cKt64z8nF4Kpn0bM9FgvaeXbmhO QkJXLbXUHVA8acmWW3oH/mwktHiNsWBq9rxKst6piJ/l0KmkKC+pE6rYGjnS7QMbIxJD1l UDG38pR2Qh187ZyuLROPhwlXTYPZMCU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1651565173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pVdhTO58cA0WGYmIyIFXMLoTyXBBgEwBwsYTj6OYuVw=; b=ivRCD+IqY+7m/LG+3Q9JFUvEjBhgRaEQclYoW1TqR8wTZo4AzeC/gVJb3KwbWJD1/dTSMF nhnzCjI4OQvL72Ag== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 9CB682C142; Tue, 3 May 2022 08:06:13 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 0/7] serial: pch: cleanup Date: Tue, 3 May 2022 10:06:06 +0200 Message-Id: <20220503080613.27601-1-jslaby@suse.cz> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 This series cleanup the TX path of the pch driver. Jiri Slaby (7): serial: pch: move size check from pop_tx one level up serial: pch: don't overwrite xmit->buf[0] by x_char serial: pch: decomission pch_uart_hal_write() serial: pch: remove debug print from pop_tx serial: pch: remove xmit circ_buf size double check serial: pch: simplify pop_tx() even more serial: pch: inline pop_tx() into handle_tx() drivers/tty/serial/pch_uart.c | 77 ++++++----------------------------- 1 file changed, 12 insertions(+), 65 deletions(-) -- 2.36.0