[PATCH] Sound: pci: emu10k1: fix inconsistent indenting warning in snd_emu10k1_synth_free()

Charles Han posted 1 patch 9 months, 3 weeks ago
sound/pci/emu10k1/memory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Sound: pci: emu10k1: fix inconsistent indenting warning in snd_emu10k1_synth_free()
Posted by Charles Han 9 months, 3 weeks ago
Fix below inconsistent indenting smatch warning.
smatch warnings:
sound/pci/emu10k1/memory.c:444 snd_emu10k1_synth_free() warn: inconsistent indenting

Signed-off-by: Charles Han <hanchunchao@inspur.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 d29711777161..f6982bc6ff0d 100644
--- a/sound/pci/emu10k1/memory.c
+++ b/sound/pci/emu10k1/memory.c
@@ -441,7 +441,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.43.0
Re: [PATCH] Sound: pci: emu10k1: fix inconsistent indenting warning in snd_emu10k1_synth_free()
Posted by Takashi Iwai 9 months, 3 weeks ago
On Thu, 27 Feb 2025 09:52:00 +0100,
Charles Han wrote:
> 
> Fix below inconsistent indenting smatch warning.
> smatch warnings:
> sound/pci/emu10k1/memory.c:444 snd_emu10k1_synth_free() warn: inconsistent indenting
> 
> Signed-off-by: Charles Han <hanchunchao@inspur.com>

Applied with the correction of subject prefix now.


thanks,

Takashi