* [PATCH] ALSA: emu10k1: clean up some inconsistent indenting
@ 2023-01-31 8:43 Jiapeng Chong
2023-02-01 12:12 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2023-01-31 8:43 UTC (permalink / raw)
To: perex; +Cc: Jiapeng Chong, alsa-devel, Abaci Robot, tiwai, linux-kernel
No functional modification involved.
sound/pci/emu10k1/memory.c:446 snd_emu10k1_synth_free() warn: inconsistent indenting.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3903
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
sound/pci/emu10k1/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/emu10k1/memory.c b/sound/pci/emu10k1/memory.c
index edb3f1763719..6a7406014f81 100644
--- a/sound/pci/emu10k1/memory.c
+++ b/sound/pci/emu10k1/memory.c
@@ -443,7 +443,7 @@ snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk)
unmap_memblk(emu, blk);
spin_unlock_irqrestore(&emu->memblk_lock, flags);
synth_free_pages(emu, blk);
- __snd_util_mem_free(hdr, memblk);
+ __snd_util_mem_free(hdr, memblk);
mutex_unlock(&hdr->block_mutex);
return 0;
}
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: emu10k1: clean up some inconsistent indenting
2023-01-31 8:43 [PATCH] ALSA: emu10k1: clean up some inconsistent indenting Jiapeng Chong
@ 2023-02-01 12:12 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2023-02-01 12:12 UTC (permalink / raw)
To: Jiapeng Chong; +Cc: linux-kernel, alsa-devel, Abaci Robot, tiwai
On Tue, 31 Jan 2023 09:43:04 +0100,
Jiapeng Chong wrote:
>
> No functional modification involved.
>
> sound/pci/emu10k1/memory.c:446 snd_emu10k1_synth_free() warn: inconsistent indenting.
How is this warning generated? Does it come from clang or any other
compiler, or is it just some tool?
In general, I take such a white-space-fix-only patch when it's tied
with other real fix patches. But if the compiler warns, it's worth to
pick up, of course.
thanks,
Takashi
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3903
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
> ---
> sound/pci/emu10k1/memory.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/pci/emu10k1/memory.c b/sound/pci/emu10k1/memory.c
> index edb3f1763719..6a7406014f81 100644
> --- a/sound/pci/emu10k1/memory.c
> +++ b/sound/pci/emu10k1/memory.c
> @@ -443,7 +443,7 @@ snd_emu10k1_synth_free(struct snd_emu10k1 *emu, struct snd_util_memblk *memblk)
> unmap_memblk(emu, blk);
> spin_unlock_irqrestore(&emu->memblk_lock, flags);
> synth_free_pages(emu, blk);
> - __snd_util_mem_free(hdr, memblk);
> + __snd_util_mem_free(hdr, memblk);
> mutex_unlock(&hdr->block_mutex);
> return 0;
> }
> --
> 2.20.1.7.g153144c
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-01 12:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-31 8:43 [PATCH] ALSA: emu10k1: clean up some inconsistent indenting Jiapeng Chong
2023-02-01 12:12 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox