Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303371 > unrolled thread

[PATCH 4/5] ALSA: mts64: fix checkpatch space complains

Started bySudip Mukherjee <sudipm.mukherjee@gmail.com>
First post2016-01-07 09:40 +0100
Last post2016-01-07 09:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4/5] ALSA: mts64: fix checkpatch space complains Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-01-07 09:40 +0100

#1303371 — [PATCH 4/5] ALSA: mts64: fix checkpatch space complains

FromSudip Mukherjee <sudipm.mukherjee@gmail.com>
Date2016-01-07 09:40 +0100
Subject[PATCH 4/5] ALSA: mts64: fix checkpatch space complains
Message-ID<qOegW-5zh-15@gated-at.bofh.it>
checkpatch was complaining about space before start of a line and a
required space before opening brace.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 sound/drivers/mts64.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/drivers/mts64.c b/sound/drivers/mts64.c
index f00e938..ee6a87f 100644
--- a/sound/drivers/mts64.c
+++ b/sound/drivers/mts64.c
@@ -743,7 +743,7 @@ static void snd_mts64_rawmidi_input_trigger(struct snd_rawmidi_substream *substr
 	if (up)
 		mts->mode[substream->number] |= MTS64_MODE_INPUT_TRIGGERED;
 	else
- 		mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED;
+		mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED;
 
 	spin_unlock_irqrestore(&mts->lock, flags);
 }
@@ -779,8 +779,8 @@ static int snd_mts64_rawmidi_create(struct snd_card *card)
 	rmidi->private_data = mts;
 	strcpy(rmidi->name, CARD_NAME);
 	rmidi->info_flags = SNDRV_RAWMIDI_INFO_OUTPUT |
-		            SNDRV_RAWMIDI_INFO_INPUT |
-                            SNDRV_RAWMIDI_INFO_DUPLEX;
+			    SNDRV_RAWMIDI_INFO_INPUT |
+			    SNDRV_RAWMIDI_INFO_DUPLEX;
 
 	mts->rmidi = rmidi;
 
@@ -803,7 +803,7 @@ static int snd_mts64_rawmidi_create(struct snd_card *card)
 		      &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT].substreams) {
 		substream = list_entry(list, struct snd_rawmidi_substream, list);
 		mts->midi_input_substream[substream->number] = substream;
-		switch(substream->number) {
+		switch (substream->number) {
 		case MTS64_SMPTE_SUBSTREAM:
 			strcpy(substream->name, "Miditerminal SMPTE");
 			break;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web