gpio: mcp23s08 debug fix
PATCH 1/1 gpio: mcp23s08 debug fix
From: Roel Kluin <[email protected]>
The return value of mcp23s08_read_regs() can only be evaluated when signed
Signed-off-by Roel Kluin <[email protected]>
Signed-off-by David Brownell <[email protected]>
drivers/gpio/mcp23s08.c +1 -1
@@ -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);