mcp23s08: check read_regs() retval
PATCH 1/1 mcp23s08: check read_regs() retval
The return value of mcp23s08_read_regs() can only be evaluated when signed
Signed-off-by Roel Kluin <[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);
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone