* [patch] serial/mrst_max3110: make buffer larger
@ 2010-10-25 5:28 Dan Carpenter
2010-11-09 13:46 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2010-10-25 5:28 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: Alan Cox, Feng Tang, linux-kernel, kernel-janitors
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>
diff --git a/drivers/serial/mrst_max3110.c b/drivers/serial/mrst_max3110.c
index b62857b..37e13c3 100644
--- a/drivers/serial/mrst_max3110.c
+++ b/drivers/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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] serial/mrst_max3110: make buffer larger
2010-10-25 5:28 [patch] serial/mrst_max3110: make buffer larger Dan Carpenter
@ 2010-11-09 13:46 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2010-11-09 13:46 UTC (permalink / raw)
To: Dan Carpenter
Cc: Greg Kroah-Hartman, Alan Cox, Feng Tang, linux-kernel,
kernel-janitors
On Mon, 25 Oct 2010 07:28:03 +0200
Dan Carpenter <error27@gmail.com> wrote:
> 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>
Ack, added to my tree
Thanks
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-09 13:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-25 5:28 [patch] serial/mrst_max3110: make buffer larger Dan Carpenter
2010-11-09 13:46 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).