Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3665708pxu; Tue, 8 Dec 2020 19:21:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxicMFocEYTaBi08vnUUI02kWOyB+eY/+PjI+H0Ngd96gksOaSKF66wjSjT5P0mhHtZFEfZ X-Received: by 2002:a17:906:adcb:: with SMTP id lb11mr360664ejb.346.1607484075358; Tue, 08 Dec 2020 19:21:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607484075; cv=none; d=google.com; s=arc-20160816; b=w8PHWT+URtfnP3R7dDs5fndiiB1bmzNi6VQYtrZ/DY1FjKaq6dR4qGUM/STBtiN9ou FMKOQ4Gn+heKKOz+C+5NjC1LYDxj2UYQO5e+gzdJTVYQzNRjRIt0THuEQQW8qmO4Xo6V fthCRGmr4f9pt997F7PuV8PuOTq4hJaZ8To2oc3ryYlJlzROcgda8kMhwUc8pgJjs5Jz VDA47ah/JQuIhp3NDn0hIJ/o6llgGAh5bhLIA7CsrV3UDj/DI8jNUyQ8rRRUqzO4KY76 kBCOtvna4y5RyJSE6SKfoCWgcKuxbru+Dli/lNEE7nV8N5af8dmmFsB5wkkOcjka1e4e QFnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=pHlHQbpsV+vEUamPkeJ+WsJTZvFKV4J5ragmRa87CVs=; b=NhtE8+BcBC4XSpsA0tyid2ChB7m8sHSpXtT+b7BI8DZYBKubzYKxDeBQXZWv6YtpvF iGjefNFRXS5hmNVbDwvDZ8VQLF1/O1meWLwoe7Ooxb5/n5seNq1rmI8VZzrouyuDvGtR He8gYnzF/E7NfudfP5JNR7TlZtXDNoUZZ1AfQuTaV01C/TzHtk/DqCYMa1JRtI1SmTyE nmK4Nb+BuL27irZbKflkejPmJamiCuw6vYlHkLSx3EipMO8nPpz6OHAebh2EDWqTZgYp Y0f9SS5gG1+6Y1OAZoCR0iQ1UoIVnel0Rdi14mGx6hYi1AZ0v03QD1DWUbQgbDsp03fU ZVSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 j7si95250ejm.185.2020.12.08.19.20.52; Tue, 08 Dec 2020 19:21:15 -0800 (PST) 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; 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 S1727008AbgLIDSW (ORCPT + 99 others); Tue, 8 Dec 2020 22:18:22 -0500 Received: from smtp.h3c.com ([60.191.123.50]:7040 "EHLO h3cspam02-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbgLIDSW (ORCPT ); Tue, 8 Dec 2020 22:18:22 -0500 Received: from DAG2EX08-IDC.srv.huawei-3com.com ([10.8.0.71]) by h3cspam02-ex.h3c.com with ESMTP id 0B93GhJE097527; Wed, 9 Dec 2020 11:16:43 +0800 (GMT-8) (envelope-from gao.yanB@h3c.com) Received: from localhost.localdomain (10.99.212.201) by DAG2EX08-IDC.srv.huawei-3com.com (10.8.0.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 9 Dec 2020 11:16:44 +0800 From: "Yan.Gao" To: CC: , , "Yan.Gao" Subject: [PATCH] tty: Fix whitespace inconsistencies in vt_io_ioctl Date: Wed, 9 Dec 2020 11:05:51 +0800 Message-ID: <20201209030551.48029-1-gao.yanB@h3c.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.99.212.201] X-ClientProxiedBy: BJSMTP01-EX.srv.huawei-3com.com (10.63.20.132) To DAG2EX08-IDC.srv.huawei-3com.com (10.8.0.71) X-DNSRBL: X-MAIL: h3cspam02-ex.h3c.com 0B93GhJE097527 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replaces spaces with tabs for indentation. Signed-off-by: Yan.Gao --- drivers/tty/vt/vt_ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index 5f61b25a9..3813c40f1 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c @@ -596,12 +596,12 @@ static int vt_io_ioctl(struct vc_data *vc, unsigned int cmd, void __user *up, return con_font_op(vc, &op); case PIO_CMAP: - if (!perm) + if (!perm) return -EPERM; return con_set_cmap(up); case GIO_CMAP: - return con_get_cmap(up); + return con_get_cmap(up); case PIO_FONTX: if (!perm) -- 2.17.1