dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Stefan Richter 2012-04-09 21:39:53 +02:00
parent 0b6c4857f7
commit d713dfa708
1 changed files with 2 additions and 2 deletions

View File

@ -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;