summaryrefslogtreecommitdiffstats
path: root/drivers/staging/line6/playback.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-02-27 20:49:46 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:25 -0700
commit536165d8ef6933131bf7166338eafa77b75f8bb7 (patch)
treebd810f758fbf318006712ff8b266cd29be24e5c7 /drivers/staging/line6/playback.c
parentb702ed253d33d056987e92299687d8ed85195896 (diff)
downloadop-kernel-dev-536165d8ef6933131bf7166338eafa77b75f8bb7.zip
op-kernel-dev-536165d8ef6933131bf7166338eafa77b75f8bb7.tar.gz
Staging: line6: fix up NULL assignment mistakes
Should use NULL for a pointer, not 0, otherwise sparse complains. Cc: Markus Grabner <grabner@icg.tugraz.at> Cc: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6/playback.c')
-rw-r--r--drivers/staging/line6/playback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/line6/playback.c b/drivers/staging/line6/playback.c
index c30c627..34cfbdb 100644
--- a/drivers/staging/line6/playback.c
+++ b/drivers/staging/line6/playback.c
@@ -329,7 +329,7 @@ static int snd_line6_playback_hw_free(struct snd_pcm_substream *substream)
if(line6pcm->wrap_out) {
kfree(line6pcm->wrap_out);
- line6pcm->wrap_out = 0;
+ line6pcm->wrap_out = NULL;
}
return snd_pcm_lib_free_pages(substream);
OpenPOWER on IntegriCloud