1
0
Fork 0

gpio: mcp23s08 debug fix

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>
hifive-unleashed-5.1
Roel Kluin 2008-05-23 13:04:43 -07:00 committed by Linus Torvalds
parent 69292b3421
commit 1d1c1d9b55
1 changed files with 1 additions and 1 deletions

View File

@ -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);