diff options
author | Dan Carpenter <error27@gmail.com> | 2011-01-25 14:15:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-03 22:13:17 (GMT) |
commit | d8653d305ef66861c91fa7455fb8038460a7274c (patch) | |
tree | 560e7439fb9d6f58f9928dc97d1262d4e0cd3125 | |
parent | 0a1f1a0b626d79071ee9fe91b7fcd28be6332677 (diff) | |
download | linux-d8653d305ef66861c91fa7455fb8038460a7274c.tar.xz |
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>
-rw-r--r-- | drivers/tty/serial/mrst_max3110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/mrst_max3110.c b/drivers/tty/serial/mrst_max3110.c index b62857b..37e13c3 100644 --- a/drivers/tty/serial/mrst_max3110.c +++ b/drivers/tty/serial/mrst_max3110.c @@ -51,7 +51,7 @@ struct uart_max3110 { struct uart_port port; struct spi_device *spi; - char name[24]; + char name[SPI_NAME_SIZE]; wait_queue_head_t wq; struct task_struct *main_thread; |