Skip to content

Commit 52b52e9

Browse files
GustavoARSilvagregkh
authored andcommitted
tty: Fix identation issues in struct serial_struct32
Fix the following checkpatch.pl warnings together with all the identation issues in struct serial_struct32: ERROR: code indent should use tabs where possible + char reserved_char;$ WARNING: please, no spaces at the start of a line + char reserved_char;$ ERROR: code indent should use tabs where possible + compat_int_t reserved;$ WARNING: please, no spaces at the start of a line + compat_int_t reserved;$ Acked-by: Jiri Slaby <[email protected]> Signed-off-by: Gustavo A. R. Silva <[email protected]> Link: https://lore.kernel.org/r/77576843397aeab0af8aa0423a9768f3ca8dedfb.1595543280.git.gustavoars@kernel.org Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e5b9f4b commit 52b52e9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

drivers/tty/tty_io.c

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,25 +2673,25 @@ long tty_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
26732673
#ifdef CONFIG_COMPAT
26742674

26752675
struct serial_struct32 {
2676-
compat_int_t type;
2677-
compat_int_t line;
2678-
compat_uint_t port;
2679-
compat_int_t irq;
2680-
compat_int_t flags;
2681-
compat_int_t xmit_fifo_size;
2682-
compat_int_t custom_divisor;
2683-
compat_int_t baud_base;
2684-
unsigned short close_delay;
2685-
char io_type;
2686-
char reserved_char;
2687-
compat_int_t hub6;
2688-
unsigned short closing_wait; /* time to wait before closing */
2689-
unsigned short closing_wait2; /* no longer used... */
2690-
compat_uint_t iomem_base;
2691-
unsigned short iomem_reg_shift;
2692-
unsigned int port_high;
2693-
/* compat_ulong_t iomap_base FIXME */
2694-
compat_int_t reserved;
2676+
compat_int_t type;
2677+
compat_int_t line;
2678+
compat_uint_t port;
2679+
compat_int_t irq;
2680+
compat_int_t flags;
2681+
compat_int_t xmit_fifo_size;
2682+
compat_int_t custom_divisor;
2683+
compat_int_t baud_base;
2684+
unsigned short close_delay;
2685+
char io_type;
2686+
char reserved_char;
2687+
compat_int_t hub6;
2688+
unsigned short closing_wait; /* time to wait before closing */
2689+
unsigned short closing_wait2; /* no longer used... */
2690+
compat_uint_t iomem_base;
2691+
unsigned short iomem_reg_shift;
2692+
unsigned int port_high;
2693+
/* compat_ulong_t iomap_base FIXME */
2694+
compat_int_t reserved;
26952695
};
26962696

26972697
static int compat_tty_tiocsserial(struct tty_struct *tty,

0 commit comments

Comments
 (0)