Commit ac9735b9 authored by Aleksey Rybalkin's avatar Aleksey Rybalkin Committed by Greg Kroah-Hartman

staging: greybus: loopback_test: fix comment style issues

According to checkpatch warning, block comments should align the * on
each line. Also, preferred style for multi-line comments is starting the
comment text after the second *.
Signed-off-by: default avatarAleksey Rybalkin <aleksey@rybalkin.org>
Acked-by: default avatarJohan Hovold <johan@kernel.org>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a88dd46
...@@ -528,11 +528,11 @@ static int log_results(struct loopback_test *t) ...@@ -528,11 +528,11 @@ static int log_results(struct loopback_test *t)
tm = *localtime(&local_time); tm = *localtime(&local_time);
/* /*
* file name will test_name_size_iteration_max.csv * file name will test_name_size_iteration_max.csv
* every time the same test with the same parameters is run we will then * every time the same test with the same parameters is run we will then
* append to the same CSV with datestamp - representing each test * append to the same CSV with datestamp - representing each test
* dataset. * dataset.
*/ */
if (t->file_output && !t->porcelain) { if (t->file_output && !t->porcelain) {
snprintf(file_name, sizeof(file_name), "%s_%d_%d.csv", snprintf(file_name, sizeof(file_name), "%s_%d_%d.csv",
t->test_name, t->size, t->iteration_max); t->test_name, t->size, t->iteration_max);
...@@ -779,7 +779,8 @@ static void prepare_devices(struct loopback_test *t) ...@@ -779,7 +779,8 @@ static void prepare_devices(struct loopback_test *t)
{ {
int i; int i;
/* Cancel any running tests on enabled devices. If /*
* Cancel any running tests on enabled devices. If
* stop_all option is given, stop test on all devices. * stop_all option is given, stop test on all devices.
*/ */
for (i = 0; i < t->device_count; i++) for (i = 0; i < t->device_count; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment