diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-04-09 21:39:53 +0200 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-04-17 22:27:37 +0200 |
commit | d713dfa708e14352cfb71342cf985d08fe14be95 (patch) | |
tree | f7b6ccaefb8931ea743288cbacdaa5c58e4571f1 /drivers/firewire | |
parent | 0b6c4857f7684f6d3f59e0506f62953575346978 (diff) | |
download | linux-3.10-d713dfa708e14352cfb71342cf985d08fe14be95.tar.gz linux-3.10-d713dfa708e14352cfb71342cf985d08fe14be95.tar.bz2 linux-3.10-d713dfa708e14352cfb71342cf985d08fe14be95.zip |
firewire: ohci: correct signedness of a local variable
bus_reset_work's reg is a bitfield.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index 67c8d274473..b66112da2a6 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c @@ -1821,8 +1821,8 @@ static void bus_reset_work(struct work_struct *work) { struct fw_ohci *ohci = container_of(work, struct fw_ohci, bus_reset_work); - int self_id_count, i, j, reg; - int generation, new_generation; + int self_id_count, generation, new_generation, i, j; + u32 reg; unsigned long flags; void *free_rom = NULL; dma_addr_t free_rom_bus = 0; |