aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorYan.Gao <gao.yanB@h3c.com>2020-12-09 11:05:51 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 15:35:43 +0100
commitfa26b3263fd5f58a7f0cd7b3c6cea75ce714f87b (patch)
tree4ce86e20d86f9e00bb18e2f964550adc0b70ad46 /drivers/tty
parentserial_core: Check for port state when tty is in error state (diff)
downloadlinux-dev-fa26b3263fd5f58a7f0cd7b3c6cea75ce714f87b.tar.xz
linux-dev-fa26b3263fd5f58a7f0cd7b3c6cea75ce714f87b.zip
tty: Fix whitespace inconsistencies in vt_io_ioctl
Replaces spaces with tabs for indentation. Signed-off-by: Yan.Gao <gao.yanB@h3c.com> Link: https://lore.kernel.org/r/20201209030551.48029-1-gao.yanB@h3c.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/vt/vt_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c
index 5f61b25a9aaa..3813c40f1b48 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)