projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1f1a0
)
serial: mrst_max3110: make buffer larger
author
Dan Carpenter
<error27@gmail.com>
Tue, 25 Jan 2011 14:15:11 +0000
(14:15 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 3 Feb 2011 22:13:17 +0000
(14:13 -0800)
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>
drivers/tty/serial/mrst_max3110.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/tty/serial/mrst_max3110.c
b/drivers/tty/serial/mrst_max3110.c
index b62857bf2fdbd61d17ca43550d8ee6e371172edf..37e13c3d91d9970446f6ad66aaf96e3955dd33f3 100644
(file)
--- 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;