Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1653088
| From | Joe Perches <joe@perches.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ALSA: sound/core/pcm_timer.c: include pcm_local.h and remove some extraneous tabs |
| Date | 2017-05-30 12:30 +0200 |
| Message-ID | <tMMzw-677-21@gated-at.bofh.it> (permalink) |
| References | <tMM6u-5FJ-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2017-05-30 at 10:58 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> We need to include pcm_local.h to clean up some smatch warnings:
>
> symbol 'snd_pcm_timer_done' was not declared. Should it be static?
> symbol 'snd_pcm_timer_init' was not declared. Should it be static?
> symbol 'snd_pcm_timer_resolution_change' was not declared. Should
> it be static?
>
> Also remove some extraneous tabs on empty lines.
Thanks. trivia:
> diff --git a/sound/core/pcm_timer.c b/sound/core/pcm_timer.c
[]
> @@ -33,7 +35,7 @@ void snd_pcm_timer_resolution_change(struct snd_pcm_substream *substream)
> {
> unsigned long rate, mult, fsize, l, post;
> struct snd_pcm_runtime *runtime = substream->runtime;
> -
> +
> mult = 1000000000;
> rate = runtime->rate;
Maybe fix the mult indentation too?
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ALSA: sound/core/pcm_timer.c: include pcm_local.h and remove some extraneous tabs Colin King <colin.king@canonical.com> - 2017-05-30 12:00 +0200 Re: [PATCH] ALSA: sound/core/pcm_timer.c: include pcm_local.h and remove some extraneous tabs Joe Perches <joe@perches.com> - 2017-05-30 12:30 +0200
csiph-web