Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360288
b: refs/heads/master
c: c3d7909
h: refs/heads/master
v: v3
  • Loading branch information
Yi Zou authored and Robert Love committed Dec 14, 2012
1 parent eb03cc0 commit 9d8ea62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 57c2728fa806aff08703e5739620454d723bc865
refs/heads/master: c3d7909b865274ffa74fa2715c6663caa51a80e1
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ static inline struct net_device *bnx2fc_netdev(const struct fc_lport *lport)
static void bnx2fc_get_lesb(struct fc_lport *lport,
struct fc_els_lesb *fc_lesb)
{
struct net_device *netdev = bnx2fc_netdev(lport);
struct net_device *netdev = fcoe_get_netdev(lport);

__fcoe_get_lesb(lport, fc_lesb, netdev);
}

static void bnx2fc_ctlr_get_lesb(struct fcoe_ctlr_device *ctlr_dev)
{
struct fcoe_ctlr *fip = fcoe_ctlr_device_priv(ctlr_dev);
struct net_device *netdev = bnx2fc_netdev(fip->lp);
struct net_device *netdev = fcoe_get_netdev(fip->lp);
struct fcoe_fc_els_lesb *fcoe_lesb;
struct fc_els_lesb fc_lesb;

Expand Down Expand Up @@ -1499,6 +1499,7 @@ static struct fc_lport *bnx2fc_if_create(struct bnx2fc_interface *interface,
port = lport_priv(lport);
port->lport = lport;
port->priv = interface;
port->get_netdev = bnx2fc_netdev;
INIT_WORK(&port->destroy_work, bnx2fc_destroy_work);

/* Configure fcoe_port */
Expand Down

0 comments on commit 9d8ea62

Please sign in to comment.