diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-27 20:49:46 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:54:25 -0700 |
commit | 536165d8ef6933131bf7166338eafa77b75f8bb7 (patch) | |
tree | bd810f758fbf318006712ff8b266cd29be24e5c7 /drivers/staging/line6/capture.c | |
parent | b702ed253d33d056987e92299687d8ed85195896 (diff) |
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/capture.c')
-rw-r--r-- | drivers/staging/line6/capture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c index a4628bd61ca..d6c1d1a7045 100644 --- a/drivers/staging/line6/capture.c +++ b/drivers/staging/line6/capture.c @@ -279,7 +279,7 @@ static int snd_line6_capture_hw_free(struct snd_pcm_substream *substream) if(line6pcm->buffer_in) { kfree(line6pcm->buffer_in); - line6pcm->buffer_in = 0; + line6pcm->buffer_in = NULL; } return snd_pcm_lib_free_pages(substream); |