提交 1d1c1d9b 编写于 作者: R Roel Kluin 提交者: Linus Torvalds

gpio: mcp23s08 debug fix

The return value of mcp23s08_read_regs() can only be evaluated when signed
Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 69292b34
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册