* [PATCH] sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()
@ 2007-11-21 11:33 Andre Haupt
2007-11-24 14:36 ` Pierre Ossman
0 siblings, 1 reply; 3+ messages in thread
From: Andre Haupt @ 2007-11-21 11:33 UTC (permalink / raw)
To: linux-kernel; +Cc: kernel-janitors, drzeus-mmc, nico, Andre Haupt
I think, the status paramter should be unsigned. Is this correct?
This also fixes a sparse warning about different signedness.
Only compile tested, because i do not have the hardware.
From: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Andre Haupt <andre@bitwigglers.org>
---
drivers/mmc/card/sdio_uart.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/card/sdio_uart.c b/drivers/mmc/card/sdio_uart.c
index d552de6..eeea84c 100644
--- a/drivers/mmc/card/sdio_uart.c
+++ b/drivers/mmc/card/sdio_uart.c
@@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port)
sdio_out(port, UART_IER, port->ier);
}
-static void sdio_uart_receive_chars(struct sdio_uart_port *port, int *status)
+static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *status)
{
struct tty_struct *tty = port->tty;
unsigned int ch, flag;
--
1.4.4.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()
2007-11-21 11:33 [PATCH] sdio_uart: fix sign of paramter status in sdio_uart_receive_chars() Andre Haupt
@ 2007-11-24 14:36 ` Pierre Ossman
2007-11-24 15:35 ` Nicolas Pitre
0 siblings, 1 reply; 3+ messages in thread
From: Pierre Ossman @ 2007-11-24 14:36 UTC (permalink / raw)
To: nico; +Cc: Andre Haupt, linux-kernel, kernel-janitors, Andre Haupt
On Wed, 21 Nov 2007 12:33:45 +0100
Andre Haupt <andre@bitwigglers.org> wrote:
> I think, the status paramter should be unsigned. Is this correct?
> This also fixes a sparse warning about different signedness.
> Only compile tested, because i do not have the hardware.
>
> From: Andre Haupt <andre@bitwigglers.org>
> Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Nicolas, does this seem correct to you? I'm not familiar with the serial stuff.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()
2007-11-24 14:36 ` Pierre Ossman
@ 2007-11-24 15:35 ` Nicolas Pitre
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Pitre @ 2007-11-24 15:35 UTC (permalink / raw)
To: Pierre Ossman; +Cc: Andre Haupt, lkml, kernel-janitors, Andre Haupt
On Sat, 24 Nov 2007, Pierre Ossman wrote:
> On Wed, 21 Nov 2007 12:33:45 +0100
> Andre Haupt <andre@bitwigglers.org> wrote:
>
> > I think, the status paramter should be unsigned. Is this correct?
> > This also fixes a sparse warning about different signedness.
> > Only compile tested, because i do not have the hardware.
> >
> > From: Andre Haupt <andre@bitwigglers.org>
> > Signed-off-by: Andre Haupt <andre@bitwigglers.org>
>
> Nicolas, does this seem correct to you? I'm not familiar with the
> serial stuff.
Yes, that should be fine.
Acked-by: Nicolas Pitre <nico@cam.org>
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-24 15:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21 11:33 [PATCH] sdio_uart: fix sign of paramter status in sdio_uart_receive_chars() Andre Haupt
2007-11-24 14:36 ` Pierre Ossman
2007-11-24 15:35 ` Nicolas Pitre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox