Commit 1d1c1d9b authored by Roel Kluin's avatar Roel Kluin Committed by Linus Torvalds

gpio: mcp23s08 debug fix

The return value of mcp23s08_read_regs() can only be evaluated when signed
Signed-off-by: default avatarRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 69292b34
...@@ -168,7 +168,7 @@ static void mcp23s08_dbg_show(struct seq_file *s, struct gpio_chip *chip) ...@@ -168,7 +168,7 @@ static void mcp23s08_dbg_show(struct seq_file *s, struct gpio_chip *chip)
{ {
struct mcp23s08 *mcp; struct mcp23s08 *mcp;
char bank; char bank;
unsigned t; int t;
unsigned mask; unsigned mask;
mcp = container_of(chip, struct mcp23s08, chip); mcp = container_of(chip, struct mcp23s08, chip);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment