linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl
@ 2020-12-04  1:52 Yan.Gao
  2020-12-04 15:53 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Yan.Gao @ 2020-12-04  1:52 UTC (permalink / raw)
  To: gregkh; +Cc: jirislaby, linux-kernel, Yan.Gao

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

-------------------------------------------------------------------------------------------------------------------------------------
±¾Óʼþ¼°Æ丽¼þº¬ÓÐлªÈý¼¯Íŵı£ÃÜÐÅÏ¢£¬½öÏÞÓÚ·¢Ë͸øÉÏÃæµØÖ·ÖÐÁгö
µÄ¸öÈË»òȺ×é¡£½ûÖ¹ÈκÎÆäËûÈËÒÔÈκÎÐÎʽʹÓ㨰üÀ¨µ«²»ÏÞÓÚÈ«²¿»ò²¿·ÖµØй¶¡¢¸´ÖÆ¡¢
»òÉ¢·¢£©±¾ÓʼþÖеÄÐÅÏ¢¡£Èç¹ûÄú´íÊÕÁ˱¾Óʼþ£¬ÇëÄúÁ¢¼´µç»°»òÓʼþ֪ͨ·¢¼þÈ˲¢É¾³ý±¾
Óʼþ£¡
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!

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl
  2020-12-04  1:52 [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl Yan.Gao
@ 2020-12-04 15:53 ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2020-12-04 15:53 UTC (permalink / raw)
  To: Yan.Gao; +Cc: jirislaby, linux-kernel

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@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
> 
> -------------------------------------------------------------------------------------------------------------------------------------
> ??????????????????????????????????????????????????????????????????
> ????????????????????????????????????????????????????????????????????????????????
> ????????????????????????????????????????????????????????????????????????????????
> ??????
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] tty: Fix whitespace inconsistencies in vt_io_ioctl
@ 2020-12-09  3:05 Yan.Gao
  0 siblings, 0 replies; 3+ messages in thread
From: Yan.Gao @ 2020-12-09  3:05 UTC (permalink / raw)
  To: gregkh; +Cc: jirislaby, linux-kernel, Yan.Gao

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-09  3:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04  1:52 [PATCH] TTY: Fix whitespace inconsistencies in vt_io_ioctl Yan.Gao
2020-12-04 15:53 ` Greg KH
2020-12-09  3:05 [PATCH] tty: " Yan.Gao

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).