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
425d1013
Commit
425d1013
authored
Nov 12, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr de4x5] NE54-de4x5 - fix missing free on error path - found by viro
parent
ba673ffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
drivers/net/tulip/de4x5.c
drivers/net/tulip/de4x5.c
+2
-0
No files found.
drivers/net/tulip/de4x5.c
View file @
425d1013
...
@@ -1237,6 +1237,8 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev)
...
@@ -1237,6 +1237,8 @@ de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev)
if
(
lp
->
useSROM
)
{
if
(
lp
->
useSROM
)
{
lp
->
state
=
INITIALISED
;
lp
->
state
=
INITIALISED
;
if
(
srom_infoleaf_info
(
dev
))
{
if
(
srom_infoleaf_info
(
dev
))
{
dma_free_coherent
(
gendev
,
lp
->
dma_size
,
lp
->
rx_ring
,
lp
->
dma_rings
);
return
-
ENXIO
;
return
-
ENXIO
;
}
}
srom_init
(
dev
);
srom_init
(
dev
);
...
...
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