diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-04-09 15:39:53 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-04-17 16:27:37 -0400 |
commit | d713dfa708e14352cfb71342cf985d08fe14be95 (patch) | |
tree | f7b6ccaefb8931ea743288cbacdaa5c58e4571f1 /drivers/firewire/ohci.c | |
parent | 0b6c4857f7684f6d3f59e0506f62953575346978 (diff) |
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/ohci.c')
-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 67c8d274473b..b66112da2a61 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c | |||
@@ -1821,8 +1821,8 @@ static void bus_reset_work(struct work_struct *work) | |||
1821 | { | 1821 | { |
1822 | struct fw_ohci *ohci = | 1822 | struct fw_ohci *ohci = |
1823 | container_of(work, struct fw_ohci, bus_reset_work); | 1823 | container_of(work, struct fw_ohci, bus_reset_work); |
1824 | int self_id_count, i, j, reg; | 1824 | int self_id_count, generation, new_generation, i, j; |
1825 | int generation, new_generation; | 1825 | u32 reg; |
1826 | unsigned long flags; | 1826 | unsigned long flags; |
1827 | void *free_rom = NULL; | 1827 | void *free_rom = NULL; |
1828 | dma_addr_t free_rom_bus = 0; | 1828 | dma_addr_t free_rom_bus = 0; |