Re: [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl

From: Greg KH
Date: Fri Dec 04 2020 - 10:53:27 EST


On Fri, Dec 04, 2020 at 09:52:01AM +0800, Yan.Gao wrote:
> Replaces spaces with tabs for indentation.
>
> Signed-off-by: Yan.Gao <gao.yanB@xxxxxxx>
> ---
> 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!

Your email is now deleted from my system, this footer is not compatible
with kernel patch submission, sorry.

greg k-h