Skip to content

Commit

Permalink
gpio: mcp23s08 debug fix
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed May 24, 2008
1 parent 69292b3 commit 1d1c1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/mcp23s08.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d1c1d9

Please sign in to comment.