Messages in this thread Patch in this message | | | From | David Brownell <> | Subject | [patch 2.6.26-rc2-git] gpio: mcp23s08 debug fix | Date | Sat, 17 May 2008 17:41:32 -0700 |
| |
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);
| |