projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706b7e1
)
x86: fix small sparse warning
author
Harvey Harrison
<harvey.harrison@gmail.com>
Thu, 31 Jan 2008 21:05:47 +0000
(22:05 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 31 Jan 2008 21:05:47 +0000
(22:05 +0100)
arch/x86/kernel/ds.c:226:9: warning: Using plain integer as NULL pointer
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ds.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/ds.c
b/arch/x86/kernel/ds.c
index 1c5ca4d187877544dc4838f39ee31ae8d0493448..dcd918c1580dfda5dc66c50d3d9d3492dde6fcee 100644
(file)
--- a/
arch/x86/kernel/ds.c
+++ b/
arch/x86/kernel/ds.c
@@
-223,7
+223,7
@@
int ds_free(void **dsp)
if (*dsp)
kfree((void *)get_bts_buffer_base(*dsp));
kfree(*dsp);
- *dsp =
0
;
+ *dsp =
NULL
;
return 0;
}