提交 d8653d30 编写于 作者: D Dan Carpenter 提交者: Greg Kroah-Hartman

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: NDan Carpenter <error27@gmail.com>
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 0a1f1a0b
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
struct uart_max3110 { struct uart_max3110 {
struct uart_port port; struct uart_port port;
struct spi_device *spi; struct spi_device *spi;
char name[24]; char name[SPI_NAME_SIZE];
wait_queue_head_t wq; wait_queue_head_t wq;
struct task_struct *main_thread; struct task_struct *main_thread;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册