Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256323
b: refs/heads/master
c: 8279171
h: refs/heads/master
i:
  256321: 09ab05d
  256319: b293e31
v: v3
  • Loading branch information
Shyam Iyer authored and David S. Miller committed Jul 15, 2011
1 parent aff6c5f commit dd2ab76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ecae42d37045ec71831d0e0e493e00b0e0732edd
refs/heads/master: 8279171a5fe95902be12f4018907f246d51616d4
6 changes: 3 additions & 3 deletions trunk/drivers/net/bna/bnad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@ bnad_mbox_irq_alloc(struct bnad *bnad,
struct bna_intr_info *intr_info)
{
int err = 0;
unsigned long irq_flags = 0, flags;
unsigned long irq_flags, flags;
u32 irq;
irq_handler_t irq_handler;

Expand All @@ -1123,6 +1123,7 @@ bnad_mbox_irq_alloc(struct bnad *bnad,
if (bnad->cfg_flags & BNAD_CF_MSIX) {
irq_handler = (irq_handler_t)bnad_msix_mbox_handler;
irq = bnad->msix_table[bnad->msix_num - 1].vector;
irq_flags = 0;
intr_info->intr_type = BNA_INTR_T_MSIX;
intr_info->idl[0].vector = bnad->msix_num - 1;
} else {
Expand All @@ -1133,7 +1134,6 @@ bnad_mbox_irq_alloc(struct bnad *bnad,
/* intr_info->idl.vector = 0 ? */
}
spin_unlock_irqrestore(&bnad->bna_lock, flags);
flags = irq_flags;
sprintf(bnad->mbox_irq_name, "%s", BNAD_NAME);

/*
Expand All @@ -1144,7 +1144,7 @@ bnad_mbox_irq_alloc(struct bnad *bnad,

BNAD_UPDATE_CTR(bnad, mbox_intr_disabled);

err = request_irq(irq, irq_handler, flags,
err = request_irq(irq, irq_handler, irq_flags,
bnad->mbox_irq_name, bnad);

if (err) {
Expand Down

0 comments on commit dd2ab76

Please sign in to comment.