Skip to contentSkip to conversation

drivers: staging: greybus: Fixed CHECKS for brace issues

PATCH In review Chase Metzger 2 participants 2 messages Oct 8, 2016 – Oct 9, 2016

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

PATCH 1/1 drivers: staging: greybus: Fixed CHECKS for brace issues

Added braces to else statements where checkpatch complained.

---
 drivers/staging/greybus/audio_codec.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/staging/greybus/audio_codec.c +3 -1
index 8a0744b..1bdf849 100644
@@ -655,8 +655,10 @@ static int gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream)
 			ret = gb_audio_apbridgea_shutdown_rx(data->connection,
 							     0);
 		params->state = GBAUDIO_CODEC_STOP;
-	} else
+	} else {
 		ret = -EINVAL;
+	}
+
 	if (ret)
 		dev_err_ratelimited(dai->dev,
 				    "%s:Error during %s %s stream:%d\n",
Signature · 1 line
2.1.4
#1 lore raw
Quoted 3 lines · Chase Metzger

Added braces to else statements where checkpatch complained.

You used the same subject here as your last patch, which implies it did the same thing, yet it did not :(

So please make the subject unique.

thanks,

greg k-h