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
d91c4b08
Commit
d91c4b08
authored
Jun 30, 2004
by
Dave Jones
Committed by
Dave Jones
Jun 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[AGPGART] Fix sparse NULL pointer warnings.
Signed-off-by:
Dave Jones
<
davej@redhat.com
>
parent
212872bf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/char/agp/generic.c
drivers/char/agp/generic.c
+1
-1
drivers/char/agp/intel-agp.c
drivers/char/agp/intel-agp.c
+1
-1
drivers/char/agp/intel-mch-agp.c
drivers/char/agp/intel-mch-agp.c
+1
-1
No files found.
drivers/char/agp/generic.c
View file @
d91c4b08
...
...
@@ -917,7 +917,7 @@ void *agp_generic_alloc_page(void)
page
=
alloc_page
(
GFP_KERNEL
);
if
(
page
==
NULL
)
return
0
;
return
NULL
;
map_page_into_agp
(
page
);
...
...
drivers/char/agp/intel-agp.c
View file @
d91c4b08
...
...
@@ -369,7 +369,7 @@ static int intel_i830_create_gatt_table(void)
size
=
agp_bridge
->
current_size
;
page_order
=
size
->
page_order
;
num_entries
=
size
->
num_entries
;
agp_bridge
->
gatt_table_real
=
0
;
agp_bridge
->
gatt_table_real
=
NULL
;
pci_read_config_dword
(
intel_i830_private
.
i830_dev
,
I810_MMADDR
,
&
temp
);
temp
&=
0xfff80000
;
...
...
drivers/char/agp/intel-mch-agp.c
View file @
d91c4b08
...
...
@@ -167,7 +167,7 @@ static int intel_i830_create_gatt_table(void)
size
=
agp_bridge
->
current_size
;
page_order
=
size
->
page_order
;
num_entries
=
size
->
num_entries
;
agp_bridge
->
gatt_table_real
=
0
;
agp_bridge
->
gatt_table_real
=
NULL
;
pci_read_config_dword
(
intel_i830_private
.
i830_dev
,
I810_MMADDR
,
&
temp
);
temp
&=
0xfff80000
;
...
...
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