diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2008-05-23 13:04:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-24 09:56:11 -0700 |
commit | 1d1c1d9b557a12320174058d2d313ffb0f8611f4 (patch) | |
tree | ba4d9c9c1a32ae0ccf85c6c1787a79f19856d150 /drivers | |
parent | 69292b342193d4068f6435660368ff98713d8164 (diff) | |
download | linux-1d1c1d9b557a12320174058d2d313ffb0f8611f4.tar.gz linux-1d1c1d9b557a12320174058d2d313ffb0f8611f4.tar.bz2 linux-1d1c1d9b557a12320174058d2d313ffb0f8611f4.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/mcp23s08.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/mcp23s08.c b/drivers/gpio/mcp23s08.c index 7fb5b9d009d4..7f92fdd5f0e2 100644 --- a/drivers/gpio/mcp23s08.c +++ b/drivers/gpio/mcp23s08.c @@ -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); |