diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-01-31 16:05:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-31 16:05:47 -0500 |
commit | 072b7a58ca534a667f9649ead1628dfb20087e4b (patch) | |
tree | 7d2b9810de9bd1ceceeb7cec82f3a590c7c990cc /arch/x86/kernel/ds.c | |
parent | 706b7e1573d7b7ad7825e84a6dcfb3d533993b83 (diff) |
x86: fix small sparse warning
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>
Diffstat (limited to 'arch/x86/kernel/ds.c')
-rw-r--r-- | arch/x86/kernel/ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c index 1c5ca4d18787..dcd918c1580d 100644 --- a/arch/x86/kernel/ds.c +++ b/arch/x86/kernel/ds.c | |||
@@ -223,7 +223,7 @@ int ds_free(void **dsp) | |||
223 | if (*dsp) | 223 | if (*dsp) |
224 | kfree((void *)get_bts_buffer_base(*dsp)); | 224 | kfree((void *)get_bts_buffer_base(*dsp)); |
225 | kfree(*dsp); | 225 | kfree(*dsp); |
226 | *dsp = 0; | 226 | *dsp = NULL; |
227 | 227 | ||
228 | return 0; | 228 | return 0; |
229 | } | 229 | } |