Commit d713dfa7 authored by Stefan Richter's avatar Stefan Richter

firewire: ohci: correct signedness of a local variable

bus_reset_work's reg is a bitfield.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 0b6c4857
...@@ -1821,8 +1821,8 @@ static void bus_reset_work(struct work_struct *work) ...@@ -1821,8 +1821,8 @@ static void bus_reset_work(struct work_struct *work)
{ {
struct fw_ohci *ohci = struct fw_ohci *ohci =
container_of(work, struct fw_ohci, bus_reset_work); container_of(work, struct fw_ohci, bus_reset_work);
int self_id_count, i, j, reg; int self_id_count, generation, new_generation, i, j;
int generation, new_generation; u32 reg;
unsigned long flags; unsigned long flags;
void *free_rom = NULL; void *free_rom = NULL;
dma_addr_t free_rom_bus = 0; dma_addr_t free_rom_bus = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment