diff options
Diffstat (limited to 'sound/synth')
-rw-r--r-- | sound/synth/Makefile | 2 | ||||
-rw-r--r-- | sound/synth/emux/Makefile | 2 | ||||
-rw-r--r-- | sound/synth/util_mem.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sound/synth/Makefile b/sound/synth/Makefile index 986291dcb914..e99fd76caa17 100644 --- a/sound/synth/Makefile +++ b/sound/synth/Makefile | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Makefile for ALSA | 2 | # Makefile for ALSA |
3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> | 3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz> |
4 | # | 4 | # |
5 | 5 | ||
6 | snd-util-mem-objs := util_mem.o | 6 | snd-util-mem-objs := util_mem.o |
diff --git a/sound/synth/emux/Makefile b/sound/synth/emux/Makefile index 32a102d26709..b69035240cf6 100644 --- a/sound/synth/emux/Makefile +++ b/sound/synth/emux/Makefile | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # Makefile for ALSA | 2 | # Makefile for ALSA |
3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> | 3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz> |
4 | # | 4 | # |
5 | 5 | ||
6 | snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ | 6 | snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ |
diff --git a/sound/synth/util_mem.c b/sound/synth/util_mem.c index 1d9b11f345f8..6fc3d2b2519f 100644 --- a/sound/synth/util_mem.c +++ b/sound/synth/util_mem.c | |||
@@ -116,7 +116,7 @@ __snd_util_memblk_new(struct snd_util_memhdr *hdr, unsigned int units, | |||
116 | if (blk == NULL) | 116 | if (blk == NULL) |
117 | return NULL; | 117 | return NULL; |
118 | 118 | ||
119 | if (! prev || prev == &hdr->block) | 119 | if (prev == &hdr->block) |
120 | blk->offset = 0; | 120 | blk->offset = 0; |
121 | else { | 121 | else { |
122 | struct snd_util_memblk *p = get_memblk(prev); | 122 | struct snd_util_memblk *p = get_memblk(prev); |