Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp85334imu; Wed, 2 Jan 2019 02:51:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN7PpxkjKat2s+C17A//zTGarvxpQHUtJXzZjW/qFF6G8gVzVFV34sAYyi2xqlr6HPT8B+A0 X-Received: by 2002:a63:ac46:: with SMTP id z6mr13106812pgn.162.1546426299905; Wed, 02 Jan 2019 02:51:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546426299; cv=none; d=google.com; s=arc-20160816; b=wFGCFhM9JRFdvykWls88NtAJdnVTTHzq5R+5K/f/mypM5TyjEJUu/kVXq60F57d+gY MZlS8xp03c7NQCRGCWn+bzTJzJpmN+gpId5R9aS/yA+nuzwSgZEyQt4pwT2GFE/Squop qU39XJCWvEWqgSZ0UmWsb6mXv1uEEQ4hmeEIA8jyM2wrrLwoUwZH65AQtX3ltsgH/c/i qvKYj6vKQUDDczIVJceX8dKJUZRqXpUW6cOo1F5Sey+8e/nOZAQM8SlJbFTcmi0Yhveq S3GYOZ4VfquuE4SDCq5g/TimVtSJhr9OFRNfApl4p1M3QgvVjQRtvS5ip6SslEsst3qw 3Khw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:cc:to:from :date; bh=mmjXCzyyBiMqKdGwQReAKyPrdeBRiFsD4uUVqv6SgZc=; b=FqWUwheitbs1sgVg2rF4CqRnONwlmkGkPGTNGJXbadcSBpETDmhv4PrgGvl6sfS7qT rd55nm8jmI7q2NrX8boaJlj/Hbp+KQ8pYJWAxBLgPZgXFa/Ms742y/6pDHsNoSaXaWtD TccbUN73WCub+L6CGJy5fDlLUnBBMOC8cutImPlT6WATVrdXtZEBd9dcDy9zvQSyQG8Y BZ16vX1Rf5pz6ygI1Byyyz9N780/ojlHTaNooSi9rBhhQWT7VLjPODJOOVEOZ4CfYqU2 JbigV4vHpyDSXI1YglNtvsTVE2Cac5tlH5ygohgtHX1+soQ+xmzzmuWSTDvmo6tLpWQM 3z3A== 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 r18si14891349pfc.199.2019.01.02.02.51.24; Wed, 02 Jan 2019 02:51:39 -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 S1729201AbfABJuR (ORCPT + 99 others); Wed, 2 Jan 2019 04:50:17 -0500 Received: from mail.CARNet.hr ([161.53.123.6]:45176 "EHLO mail.carnet.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727695AbfABJuR (ORCPT ); Wed, 2 Jan 2019 04:50:17 -0500 Received: from [2001:b68:ff:12::131] (port=40104 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 1gedAC-0006Vp-Ud; Wed, 02 Jan 2019 10:50:13 +0100 Received: by gavran.carpriv.carnet.hr (Postfix, from userid 1000) id C969B21B8F; Wed, 2 Jan 2019 10:50:12 +0100 (CET) Date: Wed, 2 Jan 2019 10:50:12 +0100 From: Valentin Vidic To: Jiri Slaby Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Message-ID: <20190102095012.GH8140@gavran.carpriv.carnet.hr> References: <20181229124829.3745-1-Valentin.Vidic@CARNet.hr> <7e91df3a-d38b-fda4-b64f-4d47f4949623@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e91df3a-d38b-fda4-b64f-4d47f4949623@suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:b68:ff: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, URIBL_BLOCKED autolearn=ham version=3.3.2 Subject: Re: [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 On Wed, Jan 02, 2019 at 07:48:42AM +0100, Jiri Slaby wrote: > On 29. 12. 18, 13:48, Valentin Vidic wrote: > > Give a better descriptions of what WAKEUP_CHARS represents. > > > > Signed-off-by: Valentin Vidic > > I am not a native speaker, but this is much better than the current text. > > Acked-by: Jiri Slaby > > BTW this text is copy&pasted from/to all the other WAKEUP_CHARS > locations. Care to fix them all? Yes, I've seen other instances of WAKEUP_CHARS but they don't look like the same thing, for example: rocket_int.h:/* number of characters left in xmit buffer before we ask for more */ rocket_int.h:#define WAKEUP_CHARS 256 rocket.c: if (info->xmit_cnt < WAKEUP_CHARS) { rocket.c: tty_wakeup(tty); Maybe the instance in n_tty.c could use a better name instead? -- Valentin