linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Yan.Gao" <gao.yanB@h3c.com>
To: <gregkh@linuxfoundation.org>
Cc: <jirislaby@kernel.org>, <linux-kernel@vger.kernel.org>,
	"Yan.Gao" <gao.yanB@h3c.com>
Subject: [PATCH] tty: Fix whitespace inconsistencies in vt_io_ioctl
Date: Wed, 9 Dec 2020 11:05:51 +0800	[thread overview]
Message-ID: <20201209030551.48029-1-gao.yanB@h3c.com> (raw)

Replaces spaces with tabs for indentation.

Signed-off-by: Yan.Gao <gao.yanB@h3c.com>
---
 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


             reply	other threads:[~2020-12-09  3:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-09  3:05 Yan.Gao [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-04  1:52 [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl Yan.Gao
2020-12-04 15:53 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201209030551.48029-1-gao.yanB@h3c.com \
    --to=gao.yanb@h3c.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).