Skip to contentSkip to conversation

ALSA: emu10k1: clean up some inconsistent indenting

PATCH In review Jiapeng Chong 2 participants 2 messages Jan 31, 2023 – Feb 1, 2023 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: emu10k1: clean up some inconsistent indenting

No functional modification involved.

sound/pci/emu10k1/memory.c:446 snd_emu10k1_synth_free() warn: inconsistent indenting.

---
 sound/pci/emu10k1/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/emu10k1/memory.c +1 -1
index edb3f1763719..6a7406014f81 100644
@@ -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;
 }
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw
Quoted 4 lines · Jiapeng Chong

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

Quoted 24 lines
---
 sound/pci/emu10k1/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/emu10k1/memory.c +1 -1
index edb3f1763719..6a7406014f81 100644
@@ -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;
 }
Signature · 1 line
2.20.1.7.g153144c