Skip to contentSkip to conversation

Staging: sound: drivers: aloop.c: fix a open brace '{' error.

PATCH In review Sanjana Sanikommu 2 participants 2 messages Mar 17, 2019 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: sound: drivers: aloop.c: fix a open brace '{' error.

fix open brace '{' issue to be placed in previous line.Issue reported by checkpatch.pl semantic patch results for aloop.c.

ERROR: open brace '{' should be in previous line.

---
 sound/drivers/aloop.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
sound/drivers/aloop.c +1 -2
index 0c27e17a19e5..45ccf8cf61cc 100644
@@ -556,8 +556,7 @@ static snd_pcm_uframes_t loopback_pointer(struct snd_pcm_substream *substream)
 	return bytes_to_frames(runtime, pos);
 }
 
-static const struct snd_pcm_hardware loopback_pcm_hardware =
-{
+static const struct snd_pcm_hardware loopback_pcm_hardware = {
 	.info =		(SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_MMAP |
 			 SNDRV_PCM_INFO_MMAP_VALID | SNDRV_PCM_INFO_PAUSE |
 			 SNDRV_PCM_INFO_RESUME),
Signature · 1 line
2.17.1
#1 lore raw
Quoted 9 lines · Sanjana Sanikommu

fix open brace '{' issue to be placed in previous line.Issue reported by checkpatch.pl semantic patch results for aloop.c.

ERROR: open brace '{' should be in previous line.

---
 sound/drivers/aloop.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Again, not part of drivers/staging/* :(