diff options
Diffstat (limited to 'drivers/scsi/fcoe/libfcoe.c')
-rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c index 5e68652985b2..d006d6576817 100644 --- a/drivers/scsi/fcoe/libfcoe.c +++ b/drivers/scsi/fcoe/libfcoe.c | |||
@@ -949,8 +949,8 @@ static struct net_device *fcoe_if_to_netdev(const char *buffer) | |||
949 | * | 949 | * |
950 | * Returns: ptr to the struct module, NULL for failure | 950 | * Returns: ptr to the struct module, NULL for failure |
951 | */ | 951 | */ |
952 | static struct module *fcoe_netdev_to_module_owner( | 952 | static struct module * |
953 | const struct net_device *netdev) | 953 | fcoe_netdev_to_module_owner(const struct net_device *netdev) |
954 | { | 954 | { |
955 | struct device *dev; | 955 | struct device *dev; |
956 | 956 | ||
@@ -1205,8 +1205,8 @@ EXPORT_SYMBOL_GPL(fcoe_clean_pending_queue); | |||
1205 | * Returns: ptr to Scsi_Host | 1205 | * Returns: ptr to Scsi_Host |
1206 | * TODO: to libfc? | 1206 | * TODO: to libfc? |
1207 | */ | 1207 | */ |
1208 | static inline struct Scsi_Host *libfc_host_alloc( | 1208 | static inline struct Scsi_Host * |
1209 | struct scsi_host_template *sht, int priv_size) | 1209 | libfc_host_alloc(struct scsi_host_template *sht, int priv_size) |
1210 | { | 1210 | { |
1211 | return scsi_host_alloc(sht, sizeof(struct fc_lport) + priv_size); | 1211 | return scsi_host_alloc(sht, sizeof(struct fc_lport) + priv_size); |
1212 | } | 1212 | } |
@@ -1285,8 +1285,8 @@ EXPORT_SYMBOL_GPL(fcoe_wwn_from_mac); | |||
1285 | * | 1285 | * |
1286 | * Returns: NULL or the located fcoe_softc | 1286 | * Returns: NULL or the located fcoe_softc |
1287 | */ | 1287 | */ |
1288 | static struct fcoe_softc *fcoe_hostlist_lookup_softc( | 1288 | static struct fcoe_softc * |
1289 | const struct net_device *dev) | 1289 | fcoe_hostlist_lookup_softc(const struct net_device *dev) |
1290 | { | 1290 | { |
1291 | struct fcoe_softc *fc; | 1291 | struct fcoe_softc *fc; |
1292 | 1292 | ||
@@ -1426,7 +1426,6 @@ static int __init fcoe_init(void) | |||
1426 | } else { | 1426 | } else { |
1427 | fcoe_percpu[cpu] = NULL; | 1427 | fcoe_percpu[cpu] = NULL; |
1428 | kfree(p); | 1428 | kfree(p); |
1429 | |||
1430 | } | 1429 | } |
1431 | } | 1430 | } |
1432 | } | 1431 | } |
@@ -1476,7 +1475,7 @@ static void __exit fcoe_exit(void) | |||
1476 | */ | 1475 | */ |
1477 | del_timer_sync(&fcoe_timer); | 1476 | del_timer_sync(&fcoe_timer); |
1478 | 1477 | ||
1479 | /* releases the assocaited fcoe transport for each lport */ | 1478 | /* releases the associated fcoe transport for each lport */ |
1480 | list_for_each_entry_safe(fc, tmp, &fcoe_hostlist, list) | 1479 | list_for_each_entry_safe(fc, tmp, &fcoe_hostlist, list) |
1481 | fcoe_transport_release(fc->real_dev); | 1480 | fcoe_transport_release(fc->real_dev); |
1482 | 1481 | ||