Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1303371
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/5] ALSA: mts64: fix checkpatch space complains |
| Date | 2016-01-07 09:40 +0100 |
| Message-ID | <qOegW-5zh-15@gated-at.bofh.it> (permalink) |
| References | <qOegW-5zh-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 4/5] ALSA: mts64: fix checkpatch space complains Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-01-07 09:40 +0100
csiph-web