Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp65529pxu; Thu, 3 Dec 2020 19:43:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3LP6BFsFiwp/vJHsxBby4FLvZjv7NxilUQs6azad5X8cn9kj1SLihVzoU7rzT4xtQ+FiL X-Received: by 2002:aa7:c886:: with SMTP id p6mr5895135eds.352.1607053410380; Thu, 03 Dec 2020 19:43:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607053410; cv=none; d=google.com; s=arc-20160816; b=HYrKwTPD2kUqgalrjyf/tHAmD14HDTLmJzr26Lm7fRJRZJxgyNgp1nYJiVXQcj1Y8T ONdbERsXKYKGgRlK9S5KYmvo2we3VGZ+g+QiJbCK/Q9Tirc0okiHRdiOBjT4uLEWn9/m PM7DbWnn5N+R56Q4e0r/k0lEtNtzDBnKnjtIuJQ2WxWc2hCyymlNTOSzAkENlHCqjGbi yQEo0aw6gSMvPij+Q67o1kCcghBB/WLzvbrfW1guEYpQWBgy0k2qFvF9oLue1HYBalwy VnHBqZj7SgiVVY9DfSS+yctPmgK9PJiMRfdV4lDmnLeHQ79AUDJpWXrVBH5S8AXwkG50 Jc+Q== 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 :message-id:date:subject:cc:to:from; bh=ETWa2pHxkXnfP3hRGz4ykeRK4KgV6qp/K9IzJ9xDglY=; b=Cm/kAZh/SjLjewqmon46bcjVAoLOKnTQeHNDuQRnf/X1SBdPUzVgeapzoUPKdU8fjj ygbSs271OiEqUSPFvvk2bjy+83QIbw/QQYd0mOdsabVKOMktgcB1DxN7hHCM/Ois8W4L +6itD73fqO/d6Bu0zVHH1cUSgYBrsc9yV+cpGa2xIN3s9ni7qGrTd50yCO+7WeQldvcO vI+BKjIedw9cQuU4Vi+7wauPrT+hVSQ89+i/s2JcNAt/VF7BohRymNLOr/1g9iLK8E5r tCU28MtZWm5uaZ4KXtmedrtLMfhVwUqaf0X7lZtUfA9dSZPwDj+zaBwzbGbU0Gzj4xPT VEjA== 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 o60si2131323eda.61.2020.12.03.19.43.08; Thu, 03 Dec 2020 19:43:30 -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 S1727522AbgLDDld convert rfc822-to-8bit (ORCPT + 99 others); Thu, 3 Dec 2020 22:41:33 -0500 Received: from smtp.h3c.com ([60.191.123.50]:4813 "EHLO h3cspam02-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbgLDDld (ORCPT ); Thu, 3 Dec 2020 22:41:33 -0500 X-Greylist: delayed 5785 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Dec 2020 22:41:33 EST Received: from h3cspam02-ex.h3c.com (localhost [127.0.0.2] (may be forged)) by h3cspam02-ex.h3c.com with ESMTP id 0B4257Jt062503 for ; Fri, 4 Dec 2020 10:05:07 +0800 (GMT-8) (envelope-from gao.yanB@h3c.com) Received: from DAG2EX08-IDC.srv.huawei-3com.com ([10.8.0.71]) by h3cspam02-ex.h3c.com with ESMTP id 0B423iBQ059703; Fri, 4 Dec 2020 10:03:44 +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; Fri, 4 Dec 2020 10:03:45 +0800 From: "Yan.Gao" To: CC: , , "Yan.Gao" Subject: [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl Date: Fri, 4 Dec 2020 09:52:01 +0800 Message-ID: <20201204015201.9122-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: BJSMTP02-EX.srv.huawei-3com.com (10.63.20.133) To DAG2EX08-IDC.srv.huawei-3com.com (10.8.0.71) Content-Transfer-Encoding: 8BIT X-DNSRBL: X-MAIL: h3cspam02-ex.h3c.com 0B423iBQ059703 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 ------------------------------------------------------------------------------------------------------------------------------------- ???ʼ????丽???????»??????ŵı?????Ϣ???????ڷ??͸???????ַ???г? ?ĸ??˻?Ⱥ?顣??ֹ?κ??????????κ???ʽʹ?ã?????????????ȫ???????ֵ?й¶?????ơ? ??ɢ???????ʼ??е???Ϣ?????????????˱??ʼ????????????绰???ʼ?֪ͨ?????˲?ɾ???? ?ʼ??? This e-mail and its attachments contain confidential information from New H3C, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!