projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b6c485
)
firewire: ohci: correct signedness of a local variable
author
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Mon, 9 Apr 2012 19:39:53 +0000
(21:39 +0200)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Tue, 17 Apr 2012 20:27:37 +0000
(22:27 +0200)
bus_reset_work's reg is a bitfield.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/ohci.c
b/drivers/firewire/ohci.c
index
67c8d27
..
b66112d
100644
(file)
--- 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;