aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fcoe/fc_transport_fcoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/fcoe/fc_transport_fcoe.c')
-rw-r--r--drivers/scsi/fcoe/fc_transport_fcoe.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/scsi/fcoe/fc_transport_fcoe.c b/drivers/scsi/fcoe/fc_transport_fcoe.c
index 0eea4c434c31..847453a70c62 100644
--- a/drivers/scsi/fcoe/fc_transport_fcoe.c
+++ b/drivers/scsi/fcoe/fc_transport_fcoe.c
@@ -62,8 +62,9 @@ struct pci_dev *fcoe_transport_pcidev(const struct net_device *netdev)
62 * 62 *
63 * Returns: 0 for success 63 * Returns: 0 for success
64 */ 64 */
65static struct fcoe_transport_internal *fcoe_transport_device_lookup( 65static struct fcoe_transport_internal *
66 struct fcoe_transport *t, struct net_device *netdev) 66fcoe_transport_device_lookup(struct fcoe_transport *t,
67 struct net_device *netdev)
67{ 68{
68 struct fcoe_transport_internal *ti; 69 struct fcoe_transport_internal *ti;
69 70
@@ -184,7 +185,7 @@ static void fcoe_transport_device_remove_all(struct fcoe_transport *t)
184 * Returns: true for match up 185 * Returns: true for match up
185 */ 186 */
186static bool fcoe_transport_match(struct fcoe_transport *t, 187static bool fcoe_transport_match(struct fcoe_transport *t,
187 struct net_device *netdev) 188 struct net_device *netdev)
188{ 189{
189 /* match transport by vendor and device id */ 190 /* match transport by vendor and device id */
190 struct pci_dev *pci; 191 struct pci_dev *pci;
@@ -217,8 +218,8 @@ static bool fcoe_transport_match(struct fcoe_transport *t,
217 * 218 *
218 * TODO: return default sw transport if no other transport is found 219 * TODO: return default sw transport if no other transport is found
219 */ 220 */
220static struct fcoe_transport *fcoe_transport_lookup( 221static struct fcoe_transport *
221 struct net_device *netdev) 222fcoe_transport_lookup(struct net_device *netdev)
222{ 223{
223 struct fcoe_transport *t; 224 struct fcoe_transport *t;
224 225