Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335962
b: refs/heads/master
c: 298d801
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Jens Axboe committed Nov 23, 2012
1 parent f1ae7a5 commit cb04de8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c5d62388e88729775b10a1748f2810e413f1e51
refs/heads/master: 298d80152c895859bd128552db7a5b228e8a23f7
3 changes: 2 additions & 1 deletion trunk/drivers/block/mtip32xx/mtip32xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ static void mtip_timeout_function(unsigned long int data)
struct mtip_cmd *command;
int tag, cmdto_cnt = 0;
unsigned int bit, group;
unsigned int num_command_slots = port->dd->slot_groups * 32;
unsigned int num_command_slots;
unsigned long to, tagaccum[SLOTBITS_IN_LONGS];

if (unlikely(!port))
Expand All @@ -572,6 +572,7 @@ static void mtip_timeout_function(unsigned long int data)
}
/* clear the tag accumulator */
memset(tagaccum, 0, SLOTBITS_IN_LONGS * sizeof(long));
num_command_slots = port->dd->slot_groups * 32;

for (tag = 0; tag < num_command_slots; tag++) {
/*
Expand Down

0 comments on commit cb04de8

Please sign in to comment.