x86: ds.c ptrace.c integer as NULL pointer sparse fixes
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 23 Sep 2008 21:56:44 +0000 (14:56 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 24 Sep 2008 07:57:47 +0000 (09:57 +0200)
commit493cd9122af5bd0b219974a48f0e31da0c29ff7e
tree5fdfdd6646c8abfebdcaad3a6b9fbca70016876b
parentebdd90a8cb2e3963f55499850f02ce6003558b55
x86: ds.c ptrace.c integer as NULL pointer sparse fixes

fix:

 arch/x86/kernel/ptrace.c:763:29: warning: Using plain integer as NULL pointer
 arch/x86/kernel/ptrace.c:777:46: warning: Using plain integer as NULL pointer
 arch/x86/kernel/ptrace.c:1115:45: warning: Using plain integer as NULL pointer
 arch/x86/kernel/ds.c:482:26: warning: Using plain integer as NULL pointer
 arch/x86/kernel/ds.c:487:25: warning: Using plain integer as NULL pointer

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ds.c
arch/x86/kernel/ptrace.c