Skip to content

Commit

Permalink
tty: Fix whitespace inconsistencies in vt_io_ioctl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yan.Gao authored and Greg Kroah-Hartman committed Dec 9, 2020
1 parent 2f70e49 commit fa26b32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/tty/vt/vt_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fa26b32

Please sign in to comment.