]> git.karo-electronics.de Git - linux-beck.git/commit
staging/goldfish/goldfish_audio: fix a sparse warning
authorRobin Schroer <sulamiification@gmail.com>
Wed, 23 Jul 2014 06:16:39 +0000 (08:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jul 2014 01:12:23 +0000 (18:12 -0700)
commit22d3970de02cd759df634da9566570c558f1fffa
tree2dffb725e3200b02da8e4ee75b4f9c052fe77350
parent14fb6ce8de3c2d9c393debe86fb69a521de840e4
staging/goldfish/goldfish_audio: fix a sparse warning

Fix a pointer check to use NULL instead of 0

Warning:
drivers/staging/goldfish/goldfish_audio.c:300:34: warning: Using plain
integer as NULL pointer

Signed-off-by: Robin Schroer <sulamiification@gmail.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/goldfish/goldfish_audio.c