diff options
author | Dan Carpenter <error27@gmail.com> | 2011-01-25 14:15:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-23 13:03:44 -0700 |
commit | ffe6f167d5ee3d799c090a05cef0b5013fbebb44 (patch) | |
tree | fb18451d8e1506e8488ded6693ecf6fee5301dbb | |
parent | fd190dfb402d76c46392a13f990988f1158ca8ce (diff) |
serial: mrst_max3110: make buffer larger
commit d8653d305ef66861c91fa7455fb8038460a7274c upstream.
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>
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 b62857bf2fd..37e13c3d91d 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; |