Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3302671imm; Sun, 17 Jun 2018 16:24:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKm/x2tvmlaV6Mbp+IIXgaR0uu5zgcoVE9EPPthwR3zw2UCQuC42WyVGnopFF8zbsI1dank X-Received: by 2002:a63:842:: with SMTP id 63-v6mr9308128pgi.406.1529277874651; Sun, 17 Jun 2018 16:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529277874; cv=none; d=google.com; s=arc-20160816; b=K0PkO2x9RL6iI74k+CbnoQuEth9YtFijv94wxrYOe2/ttf1i+Nnyd5p+8iUahMJNb4 cAjCxJag9xzAjkYL0pL+iFu8qlhqyZzoder0WATZ24kwHMmIYe0PTlV+7Hi9iMKacsjq ZdGOb5QQNheuYsMDNVYU+DabAQs1FJLy2v4RUl6Y75yMZtpjfHHTA65HuApNzFT5m0Ne x4E+Df7kruIk7ZvvWNj+1Q61Mlzt/vmv1RUC+oONpZBQ9LMO3HD8nqQbzzS31BZQLU9O cECwuj+flPIN1MyK8/HSSw5LLJu7SMrOAtMKmi3/yI/utPw9+ctmcAlLt7Tb7TFg2nNG zboA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=7LkQLRRmoaRlU9u70vKz9wnlRX9lLJG0LtR8nVurD88=; b=jRXepCrXYna8xMujoDhpWmJD424jRrsw3M8wONWbzMyOWIT6BB0Nms2J7T4UlUY4za QsWbsTtbd94tj9J252YubJTRzTw0v3onYy/qSCL+sP/S2/YsyC3OL0P0xqDKRofCgJ7L yOyJuzjpdIIKBgDCwZjrSL3YYtCdy7vquLK45SNNwfRCbBM2VPWLdoiT+Xim5udoVhPp ZOLJ2TeH7HVqfAtdas7RnCiMLValvMlYCIAi62sFWi6YUo9Tz5vmDj8eSQPHWedOZrgR I3pboFuEYlz2ytvZCK+FahgcNgDTT0h4fWEcmr2yNBURWy1ay3K3jAQLVS2B5LJNvmKK +eAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T+4cKioB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23-v6si14202352pli.354.2018.06.17.16.24.06; Sun, 17 Jun 2018 16:24:34 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=T+4cKioB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754401AbeFQXR4 (ORCPT + 99 others); Sun, 17 Jun 2018 19:17:56 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:45896 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754281AbeFQXRy (ORCPT ); Sun, 17 Jun 2018 19:17:54 -0400 Received: by mail-qt0-f196.google.com with SMTP id i18-v6so13681847qtp.12 for ; Sun, 17 Jun 2018 16:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=7LkQLRRmoaRlU9u70vKz9wnlRX9lLJG0LtR8nVurD88=; b=T+4cKioBVgV1ahkDAWVf0zsAxti0IzxzFaTIIu3o0k3q5DlZYvozDlgfzirH1RUZD2 Vq6nfRURGjfPDiwJphLoKUP2JL12+0fZFhZf0T2qsbIbXMn9h+JaawnMtHCJbJeNqU4n XDQ9iljfww7DpnhEf6/2wa9uZB5Ey7fmU+V/M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=7LkQLRRmoaRlU9u70vKz9wnlRX9lLJG0LtR8nVurD88=; b=MpPbXydep0/EAYMbg7jRYBL04O8hBgWwSnN+Wum2jLsAQUjWfEv+DbvWFC9QaP3vZd erb8W6hzog384U90mJuHRbU+zEzs0L/C9uOhx6ntsKbwQKcqcKx2KFz7i6F9ogk95t15 i0hbXlqx1KzV67A5ZG9gbN7JXJ8qpnO1qMqnKD22mcEaSPFw5v7U06m6glGdUH/85A2x 8P8lhkA9vSrWeeeWwXQPihNSAM9noNxZE3Fi5HBOGhvsYwaMZLUUIvrqOSAcygwjWv8o tNmRucPhSnsWDyQH058VTlfm3I0sgAZcq2grPiPWilcYbbIdZYmxQka+ul9uAI8Gh27a MZ+Q== X-Gm-Message-State: APt69E00jqWMr1STpqrxqWGBIafi+DW4O5mChCgvrIQ2mPXKPs0sIQ5t bwtiCPwn8yVPlMWCqzfCUZpAJxMpaqc= X-Received: by 2002:a0c:f3c2:: with SMTP id f2-v6mr8707481qvm.230.1529277473421; Sun, 17 Jun 2018 16:17:53 -0700 (PDT) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id z12-v6sm7324406qkf.66.2018.06.17.16.17.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Jun 2018 16:17:52 -0700 (PDT) Date: Sun, 17 Jun 2018 19:17:51 -0400 (EDT) From: Nicolas Pitre To: valdis.kletnieks@vt.edu cc: Greg Kroah-Hartman , Dave Mielke , Samuel Thibault , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] vt: preserve unicode values corresponding to screen characters In-Reply-To: <117799.1529276384@turing-police.cc.vt.edu> Message-ID: References: <20180617190706.14614-1-nicolas.pitre@linaro.org> <20180617190706.14614-2-nicolas.pitre@linaro.org> <117799.1529276384@turing-police.cc.vt.edu> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Jun 2018, valdis.kletnieks@vt.edu wrote: > On Sun, 17 Jun 2018 15:07:03 -0400, Nicolas Pitre said: > > > diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c > > index 1eb1a376a0..7b636638b3 100644 > > --- a/drivers/tty/vt/vt.c > > +++ b/drivers/tty/vt/vt.c > > @@ -317,6 +317,171 @@ void schedule_console_callback(void) > > schedule_work(&console_work); > > } > > > > +/* > > + * Code to manage unicode-based screen buffers > > + */ > > + > > +#ifdef NO_VC_UNI_SCREEN > > This preprocessor variable seems to be dangling in the breeze, with > no way for it to get set? As a result, we pick up the #else define by > default. That's actually what's intended here. If vc_screen.c ever becomes configurable then this could be used to compile out this code. Or if someone wants to disable it for some debugging reasons. For now it is just a self-explanatory placeholder with very little chance of being set by mistake for any other purpose. Nicolas