public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: seq: oss: Fix inconsistent indenting
@ 2021-04-16 10:00 Yang Li
  2021-04-16 10:41 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Li @ 2021-04-16 10:00 UTC (permalink / raw)
  To: perex; +Cc: tiwai, alsa-devel, linux-kernel, Yang Li

Kernel test robot throws below warning ->

smatch warnings:
sound/core/seq/oss/seq_oss_event.c:297 note_on_event() warn:
inconsistent indenting

Fixed the inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 sound/core/seq/oss/seq_oss_event.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/core/seq/oss/seq_oss_event.c b/sound/core/seq/oss/seq_oss_event.c
index 7b7c925..9a42713 100644
--- a/sound/core/seq/oss/seq_oss_event.c
+++ b/sound/core/seq/oss/seq_oss_event.c
@@ -294,7 +294,7 @@
 				/* set volume to zero -- note off */
 			//	type = SNDRV_SEQ_EVENT_NOTEOFF;
 			//else
-				if (info->ch[ch].vel)
+			if (info->ch[ch].vel)
 				/* sample already started -- volume change */
 				type = SNDRV_SEQ_EVENT_KEYPRESS;
 			else
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-19 10:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-16 10:00 [PATCH] ALSA: seq: oss: Fix inconsistent indenting Yang Li
2021-04-16 10:41 ` Takashi Iwai
2021-04-19 10:21   ` 回复:[PATCH] " Yang.Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox