* [patch 2.6.26-rc2-git] gpio: mcp23s08 debug fix
@ 2008-05-18 0:41 David Brownell
0 siblings, 0 replies; only message in thread
From: David Brownell @ 2008-05-18 0:41 UTC (permalink / raw)
To: Andrew Morton; +Cc: lkml, Roel Kluin
From: Roel Kluin <12o3l@tiscali.nl>
The return value of mcp23s08_read_regs() can only be evaluated when signed
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
--- a/drivers/gpio/mcp23s08.c
+++ b/drivers/gpio/mcp23s08.c
@@ -168,7 +168,7 @@ static void mcp23s08_dbg_show(struct seq_file *s, struct gpio_chip *chip)
{
struct mcp23s08 *mcp;
char bank;
- unsigned t;
+ int t;
unsigned mask;
mcp = container_of(chip, struct mcp23s08, chip);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-18 0:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-18 0:41 [patch 2.6.26-rc2-git] gpio: mcp23s08 debug fix David Brownell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®