Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
cb7ac7b5
Commit
cb7ac7b5
authored
Jan 10, 2004
by
Alexander Viro
Committed by
Stephen Hemminger
Jan 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] s/kfree/free_netdev/ where appropriate
Affected drivers: ixgb, sk98lin, ibmtr, airport, orinoco, wl3501_cs
parent
e7448dd6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgb/ixgb_main.c
+1
-1
drivers/net/sk98lin/skge.c
drivers/net/sk98lin/skge.c
+1
-1
drivers/net/tokenring/ibmtr.c
drivers/net/tokenring/ibmtr.c
+1
-1
drivers/net/wireless/airport.c
drivers/net/wireless/airport.c
+1
-1
drivers/net/wireless/orinoco_pci.c
drivers/net/wireless/orinoco_pci.c
+1
-1
drivers/net/wireless/orinoco_plx.c
drivers/net/wireless/orinoco_plx.c
+1
-1
drivers/net/wireless/orinoco_tmd.c
drivers/net/wireless/orinoco_tmd.c
+1
-1
No files found.
drivers/net/ixgb/ixgb_main.c
View file @
cb7ac7b5
...
...
@@ -446,7 +446,7 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
iounmap
(
adapter
->
hw
.
hw_addr
);
err_ioremap:
pci_release_regions
(
pdev
);
kfree
(
netdev
);
free_netdev
(
netdev
);
err_alloc_etherdev:
return
-
ENOMEM
;
}
...
...
drivers/net/sk98lin/skge.c
View file @
cb7ac7b5
...
...
@@ -1143,7 +1143,7 @@ SK_EVPARA EvPara;
if
((
pAC
->
GIni
.
GIMacsFound
==
2
)
&&
pAC
->
RlmtNets
==
2
){
unregister_netdev
(
pAC
->
dev
[
1
]);
kfree
(
pAC
->
dev
[
1
]);
free_netdev
(
pAC
->
dev
[
1
]);
}
FreeResources
(
SkGeRootDev
);
...
...
drivers/net/tokenring/ibmtr.c
View file @
cb7ac7b5
...
...
@@ -1938,7 +1938,7 @@ static int __init ibmtr_init(void)
dev_ibmtr
[
i
]
->
mem_start
=
mem
[
i
];
dev_ibmtr
[
i
]
->
init
=
&
ibmtr_probe
;
if
(
register_netdev
(
dev_ibmtr
[
i
])
!=
0
)
{
kfree
(
dev_ibmtr
[
i
]);
free_netdev
(
dev_ibmtr
[
i
]);
dev_ibmtr
[
i
]
=
NULL
;
continue
;
}
...
...
drivers/net/wireless/airport.c
View file @
cb7ac7b5
...
...
@@ -216,7 +216,7 @@ airport_attach(struct macio_dev *mdev, const struct of_match *match)
if
(
!
request_OF_resource
(
of_node
,
0
,
" (airport)"
))
{
printk
(
KERN_ERR
"airport: can't request IO resource !
\n
"
);
kfree
(
dev
);
free_netdev
(
dev
);
return
-
ENODEV
;
}
...
...
drivers/net/wireless/orinoco_pci.c
View file @
cb7ac7b5
...
...
@@ -261,7 +261,7 @@ static int orinoco_pci_init_one(struct pci_dev *pdev,
if
(
dev
->
irq
)
free_irq
(
dev
->
irq
,
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
}
if
(
pci_ioaddr
)
...
...
drivers/net/wireless/orinoco_plx.c
View file @
cb7ac7b5
...
...
@@ -263,7 +263,7 @@ static int orinoco_plx_init_one(struct pci_dev *pdev,
if
(
dev
->
irq
)
free_irq
(
dev
->
irq
,
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
}
if
(
pccard_ioaddr
)
...
...
drivers/net/wireless/orinoco_tmd.c
View file @
cb7ac7b5
...
...
@@ -157,7 +157,7 @@ static int orinoco_tmd_init_one(struct pci_dev *pdev,
if
(
dev
->
irq
)
free_irq
(
dev
->
irq
,
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
}
if
(
pccard_ioaddr
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment