aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index bef893d4c68a..130dd9d5b493 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@ -2149,7 +2149,7 @@ static const struct file_operations mem_debugfs_fops = {
2149}; 2149};
2150 2150
2151static void add_debugfs_mem(struct adapter *adap, const char *name, 2151static void add_debugfs_mem(struct adapter *adap, const char *name,
2152 unsigned int idx, unsigned int size_mb) 2152 unsigned int idx, unsigned int size_mb)
2153{ 2153{
2154 struct dentry *de; 2154 struct dentry *de;
2155 2155
@@ -4419,8 +4419,7 @@ static void free_some_resources(struct adapter *adapter)
4419#define VLAN_FEAT (NETIF_F_SG | NETIF_F_IP_CSUM | TSO_FLAGS | \ 4419#define VLAN_FEAT (NETIF_F_SG | NETIF_F_IP_CSUM | TSO_FLAGS | \
4420 NETIF_F_IPV6_CSUM | NETIF_F_HIGHDMA) 4420 NETIF_F_IPV6_CSUM | NETIF_F_HIGHDMA)
4421 4421
4422static int init_one(struct pci_dev *pdev, 4422static int init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
4423 const struct pci_device_id *ent)
4424{ 4423{
4425 int func, i, err; 4424 int func, i, err;
4426 struct port_info *pi; 4425 struct port_info *pi;