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
Kirill Smelkov
linux
Commits
2b9f9c3c
Commit
2b9f9c3c
authored
Feb 10, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] More failure path sanity checking.
parent
5e3ee351
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
drivers/char/agp/backend.c
drivers/char/agp/backend.c
+8
-5
No files found.
drivers/char/agp/backend.c
View file @
2b9f9c3c
...
...
@@ -181,13 +181,16 @@ static int agp_backend_initialize(struct pci_dev *dev)
/* cannot be __exit b/c as it could be called from __init code */
static
void
agp_backend_cleanup
(
void
)
{
agp_bridge
.
cleanup
();
agp_bridge
.
free_gatt_table
();
vfree
(
agp_bridge
.
key_list
);
if
(
agp_bridge
.
cleanup
!=
NULL
)
agp_bridge
.
cleanup
();
if
(
agp_bridge
.
free_gatt_table
!=
NULL
)
agp_bridge
.
free_gatt_table
();
if
(
agp_bridge
.
key_list
)
vfree
(
agp_bridge
.
key_list
);
if
(
agp_bridge
.
needs_scratch_page
==
TRUE
)
{
if
((
agp_bridge
.
agp_destroy_page
!=
NULL
)
&&
(
agp_bridge
.
needs_scratch_page
==
TRUE
))
agp_bridge
.
agp_destroy_page
(
phys_to_virt
(
agp_bridge
.
scratch_page_real
));
}
}
static
int
agp_power
(
struct
pm_dev
*
dev
,
pm_request_t
rq
,
void
*
data
)
...
...
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