Skip to contentSkip to conversation

ALSA: hda - if statement not indented

PATCH Applied Dan Carpenter 2 participants 2 messages May 14, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda - if statement not indented

The "break;" should be indented.

sound/pci/hda/hda_generic.c +1 -1
index 1613388..589e47c 100644
@@ -3722,7 +3722,7 @@ static void parse_digital(struct hda_codec *codec)
 		} else {
 			spec->multiout.slave_dig_outs = spec->slave_dig_outs;
 			if (nums >= ARRAY_SIZE(spec->slave_dig_outs) - 1)
-			break;
+				break;
 			spec->slave_dig_outs[nums - 1] = dig_nid;
 		}
 		nums++;
Applied
#1 lore raw

At Wed, 14 May 2014 17:18:31 +0300,

Quoted 4 lines · Dan Carpenter

The "break;" should be indented.

Applied, thanks.

Takashi

Quoted 15 lines
sound/pci/hda/hda_generic.c +1 -1
index 1613388..589e47c 100644
@@ -3722,7 +3722,7 @@ static void parse_digital(struct hda_codec *codec)
 		} else {
 			spec->multiout.slave_dig_outs = spec->slave_dig_outs;
 			if (nums >= ARRAY_SIZE(spec->slave_dig_outs) - 1)
-			break;
+				break;
 			spec->slave_dig_outs[nums - 1] = dig_nid;
 		}
 		nums++;