Skip to content

Commit

Permalink
serial: mrst_max3110: make buffer larger
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Feb 3, 2011
1 parent 0a1f1a0 commit d8653d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/mrst_max3110.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d8653d3

Please sign in to comment.