Staging: speakup: Fix sparse warning in varhandlers.c
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 13 May 2013 10:00:42 +0000 (15:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:17:29 +0000 (16:17 -0700)
commit15ab600ce34a51e1cbcd3446dd21b67473e1f79e
tree30b27fc10b177f4fbad5a55d42f26a177e722970
parent6eb178cebb5b380377033a972a9803adb5a58ede
Staging: speakup: Fix sparse warning in varhandlers.c

'cp' is a pointer. Fix the incorrect comparison with integer to
avoid the below warning:
drivers/staging/speakup/varhandlers.c:283:19: warning:
Using plain integer as NULL pointer

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/varhandlers.c