Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: mrst_max3110: make buffer larger

This is used to store the spi_device ->modalias so they have to be the same
size. SPI_NAME_SIZE is 32.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Dan Carpenter and committed by
Greg Kroah-Hartman
d8653d30 0a1f1a0b

+1 -1
+1 -1
drivers/tty/serial/mrst_max3110.c
··· 51 51 struct uart_max3110 { 52 52 struct uart_port port; 53 53 struct spi_device *spi; 54 - char name[24]; 54 + char name[SPI_NAME_SIZE]; 55 55 56 56 wait_queue_head_t wq; 57 57 struct task_struct *main_thread;