Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9230784imu; Sat, 29 Dec 2018 13:38:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN7TxOjWM9mJRBee77AWSf1tluk7oy4oTepCIzkZiA2qtCjklhbj4bbo5XLplN3b11lc1mV+ X-Received: by 2002:a63:ec4b:: with SMTP id r11mr2739503pgj.44.1546119534502; Sat, 29 Dec 2018 13:38:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546119534; cv=none; d=google.com; s=arc-20160816; b=IE2DOi1u7a817xNZYUgk3SlltD0tUwUsTCFBLBrCDYRdzIRiZbUcvToS949bJ4an/Q HkOx/DhOkONlHhdoyYMlCBwiHdPzl2EmtPZ9CiUX0WxZ4kZcUTNQDw/WdrG7SzLPI7zV b31ZihXFDi4Rm1+C4QBYlQtOnL0WtZ4/oxWPlgC46cWGoTuimJIhiSKDhSAxbWvBHnYL BBV9g/1IJrZr+SOEjANEC9o/dCFwmAIfj7ZSneTte4TGF1wI/Gws3s15VquzlpJM9Sgg +A2cnYbM2njqDzszbzwqE/kT4AyFgfILobDK2KZP1c1t64xOJwUqAxMzH1bbuDR5M3Sq 25IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:message-id:date:cc:to:from; bh=GHs4fVh6FRJ9y3VvjyMwDD32J3u0Fcw7ixrzVr/RB7E=; b=Af9EHGXmOk93vUMUXfIYUs0VTwiGJdcRyD7yKziYdG7f3xaC16O7sopjubMk3SMhSH TIF2jwOJYViB/Fgh4yZClmKoBEnW/De7jI5CWdABTVeXIA/yBd5XfR0U6qjD1rGrkKBR MGu2y//oJ3ehhxLVzZn57nZBzvm9xyUvLDhMeClMYr1XXFJZxysiBkPhgOsr01VSvwpm NzhG5fdyfJOwGMNHgIumeSQZuMXBupitpO5x6Dlb7Icz21sQKE3r+dwqCJhWm/andED7 XvgHBySwOq2ZkPtNK9utPBFwmtBJd9vMQOh7UDBKhNZfhxFVwNQoD508hQ/VnSwCjC6Z h5+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b65si41336099pgc.259.2018.12.29.13.38.39; Sat, 29 Dec 2018 13:38:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725974AbeL2NN6 (ORCPT + 99 others); Sat, 29 Dec 2018 08:13:58 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:33507 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725784AbeL2NN6 (ORCPT ); Sat, 29 Dec 2018 08:13:58 -0500 X-Greylist: delayed 1513 seconds by postgrey-1.27 at vger.kernel.org; Sat, 29 Dec 2018 08:13:57 EST Received: from cnzgrivvl-t440p.carpriv.carnet.hr ([161.53.12.131]:48060 helo=gavran.carpriv.carnet.hr) by mail.carnet.hr with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gdE2i-0006To-8Y; Sat, 29 Dec 2018 13:48:40 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id EF86621B7C; Sat, 29 Dec 2018 13:48:39 +0100 (CET) From: Valentin Vidic To: Greg Kroah-Hartman Cc: Jiri Slaby , linux-kernel@vger.kernel.org, Valentin Vidic Date: Sat, 29 Dec 2018 13:48:29 +0100 Message-Id: <20181229124829.3745-1-Valentin.Vidic@CARNet.hr> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 161.53.12.131 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on rigel.CARNet.hr X-Spam-Level: X-Spam-Status: No, score=-2.9 required=10.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: [PATCH] n_tty: update comment for WAKEUP_CHARS define X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Give a better descriptions of what WAKEUP_CHARS represents. Signed-off-by: Valentin Vidic --- drivers/tty/n_tty.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 3ad460219fd6..1dfbd45746da 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -50,8 +50,10 @@ #include #include - -/* number of characters left in xmit buffer before select has we have room */ +/* + * Until this number of characters is queued in the xmit buffer, select will + * return "we have room for writes". + */ #define WAKEUP_CHARS 256 /* -- 2.20.1