Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp497043pxb; Tue, 14 Sep 2021 02:18:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJfbcQ+4SKXRKvHii/IWQS62nu5OR0PHb9pYbdWADNG6zu8emHzG1B02tMj6qvLBGqy1tS X-Received: by 2002:a17:907:628d:: with SMTP id nd13mr18075253ejc.7.1631611125328; Tue, 14 Sep 2021 02:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631611125; cv=none; d=google.com; s=arc-20160816; b=RfXN2Lcf8UkaE5j5QW0ER1aSmXhrefJ+ZuvY5SWTZUNAFridsmFbeGfM+mSHRQj9Ky KYDQAOFdjfFm7g5NC0CDqVU20VsShYq1dp2A6U0CttpEPDh2f5WzdRQWFFKXRdHtTKd0 ES1dBhO2Ll5VnhjPi1snig5FdI7DmBvcSSu/UZpzFoGM9IXt9RFLQj4p/EJhGLBTFNx/ b14wkUjsmBaenggb15ZpSuJO5WhF+Q0c8a/sQ53wp2VdY/68OHahUMMaxVjNTGzpGyon rfHT303eUqTua0+J1P+6M82z5/ovYni2hDT5HtrfwI4iKvBlZ6lpES9PS/D+uE7GVC0p RvHQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=0inWg5bKmkT0ZZvF/iDW7c5P6F4DFoIeVXk9hb5kLd8=; b=uOtE43edhC5x4yM4yUbwtLzIcJfdzIZ5tJ9vmj+Jmbahgiyq6redUch46l3pAWwOZf qWSWZNA6HGHHXEuVDSSTD6Jm9j0ArG4aFgV8SEiGBs8K4dHzi7N4zAX46TpO84m5ADKB m17SJqUPAcye3dZMQGwTCIicGO8pH0/w1pp+JYVJiZaRscolrt8ajr9+cH+qRVSTDdsA NLYH/G99X0GnnmLo+cdLVrfctwIN8LF37k7TxR1YxRpvRx3/hm2qHPo74bpOk1qG8O61 qhFku+Z3Gt4WQsR/uWnSnqb9z76iThwqIdfz/Y4HvHi75mSRp/F7F7dNXAHMtqVTLeff SMOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ZEnbIG8x; dkim=neutral (no key) header.i=@suse.cz header.b="R9SWt/BC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si11782461edm.197.2021.09.14.02.18.21; Tue, 14 Sep 2021 02:18:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ZEnbIG8x; dkim=neutral (no key) header.i=@suse.cz header.b="R9SWt/BC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231617AbhINJPt (ORCPT + 99 others); Tue, 14 Sep 2021 05:15:49 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:44046 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbhINJPh (ORCPT ); Tue, 14 Sep 2021 05:15:37 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 0A8202003B; Tue, 14 Sep 2021 09:14:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1631610859; 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: in-reply-to:in-reply-to:references:references; bh=0inWg5bKmkT0ZZvF/iDW7c5P6F4DFoIeVXk9hb5kLd8=; b=ZEnbIG8xdQNARrC2PEyHBynMMjIBjZGgamhL/F/zc5S8CEuTy1iiVUsD57mz+a5KeNIXZt fJReYaC+WU+uKBQW6Mqaq4VZ8uv86CxF5EiqOu+Qy1kJJ82j/sjyA9RAs8k6JSDUrQjmM1 /pbeaMwHX5sjiPK2NG4+TpRmYVM3G54= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1631610859; 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: in-reply-to:in-reply-to:references:references; bh=0inWg5bKmkT0ZZvF/iDW7c5P6F4DFoIeVXk9hb5kLd8=; b=R9SWt/BC7G3w63VdHr8ciAbMDX2CqilpjmsUVzvsKe3rxiCv9iQn3qwjGqsRqheyAW46+V QvG/oABrsLAqxiBA== Received: from localhost.localdomain (unknown [10.100.201.122]) (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 D2477A3B94; Tue, 14 Sep 2021 09:14:18 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby , Heiko Carstens , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Subject: [PATCH 13/16] tty: drivers/s390/char/, stop using tty_flip_buffer_push Date: Tue, 14 Sep 2021 11:14:12 +0200 Message-Id: <20210914091415.17918-6-jslaby@suse.cz> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210914091415.17918-1-jslaby@suse.cz> References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091415.17918-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit a9c3f68f3cd8d (tty: Fix low_latency BUG) in 2014, tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). We are going to remove the former, so call the latter directly in drivers/s390/char/. Signed-off-by: Jiri Slaby Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: linux-s390@vger.kernel.org --- drivers/s390/char/con3215.c | 4 ++-- drivers/s390/char/sclp_tty.c | 4 ++-- drivers/s390/char/sclp_vt220.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index f356607835d8..f37f4c0594d7 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c @@ -399,7 +399,7 @@ static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, case CTRLCHAR_CTRL: tty_insert_flip_char(&raw->port, cchar, TTY_NORMAL); - tty_flip_buffer_push(&raw->port); + tty_schedule_flip(&raw->port); break; case CTRLCHAR_NONE: @@ -413,7 +413,7 @@ static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, count -= 2; tty_insert_flip_string(&raw->port, raw->inbuf, count); - tty_flip_buffer_push(&raw->port); + tty_schedule_flip(&raw->port); break; } } else if (req->type == RAW3215_WRITE) { diff --git a/drivers/s390/char/sclp_tty.c b/drivers/s390/char/sclp_tty.c index 971fbb52740b..99256bea31f7 100644 --- a/drivers/s390/char/sclp_tty.c +++ b/drivers/s390/char/sclp_tty.c @@ -330,7 +330,7 @@ sclp_tty_input(unsigned char* buf, unsigned int count) break; case CTRLCHAR_CTRL: tty_insert_flip_char(&sclp_port, cchar, TTY_NORMAL); - tty_flip_buffer_push(&sclp_port); + tty_schedule_flip(&sclp_port); break; case CTRLCHAR_NONE: /* send (normal) input to line discipline */ @@ -342,7 +342,7 @@ sclp_tty_input(unsigned char* buf, unsigned int count) tty_insert_flip_char(&sclp_port, '\n', TTY_NORMAL); } else tty_insert_flip_string(&sclp_port, buf, count - 2); - tty_flip_buffer_push(&sclp_port); + tty_schedule_flip(&sclp_port); break; } tty_kref_put(tty); diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c index 29a6a0099f83..b1ed3bcf3201 100644 --- a/drivers/s390/char/sclp_vt220.c +++ b/drivers/s390/char/sclp_vt220.c @@ -542,7 +542,7 @@ sclp_vt220_receiver_fn(struct evbuf_header *evbuf) buffer++; count--; sclp_vt220_handle_input(buffer, count); - tty_flip_buffer_push(&sclp_vt220_port); + tty_schedule_flip(&sclp_vt220_port); break; } } -- 2.33.0