Skip to contentSkip to conversation

sound: fix some checkpatch errors and warnings.

PATCH New Peng Donglin 1 participant 1 message Aug 18, 2017 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: fix some checkpatch errors and warnings.

ERROR: trailing whitespace
WARNING: please, no spaces at the start of a line
ERROR: open brace '{' following struct go on the same line
ERROR: do not initialise statics to 0
ERROR: "foo * bar" should be "foo *bar"
ERROR: spaces required around that '='
ERROR: switch and case should be at the same indent
WARNING: Statements should start on a tabstop
WARNING: Block comments use * on subsequent lines

---
 sound/last.c       |   2 +-
 sound/sound_core.c | 163 ++++++++++++++++++++++++-----------------------------
 2 files changed, 76 insertions(+), 89 deletions(-)
sound/last.c +1 -1
index 43f2228..a47bbe0 100644
@@ -25,7 +25,7 @@
 static int __init alsa_sound_last_init(void)
 {
 	int idx, ok = 0;
-	
+
 	printk(KERN_INFO "ALSA device list:\n");
 	for (idx = 0; idx < SNDRV_CARDS; idx++)
 		if (snd_cards[idx] != NULL) {
sound/sound_core.c +75 -88

378 lines not on this page · raw message

Signature · 1 line
1.9.1