Skip to content

Commit

Permalink
firewire: ohci: correct signedness of a local variable
Browse files Browse the repository at this point in the history
bus_reset_work's reg is a bitfield.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Apr 17, 2012
1 parent 0b6c485 commit d713dfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d713dfa

Please sign in to comment.