From: Simran Singhal Date: Sun, 22 Mar 2020 17:30:45 +0000 (+0530) Subject: staging: greybus: tools: Fix braces {} style X-Git-Tag: v5.7-rc1~190^2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f49c5f16e9454bc6381eb26adf3d23bc28a478df;p=thirdparty%2Fkernel%2Flinux.git staging: greybus: tools: Fix braces {} style This patch fixes the check reported by checkpatch.pl for braces {} should be used on all arms of this statement. Signed-off-by: Simran Singhal Reviewed-by: Alex Elder Link: https://lore.kernel.org/r/20200322173045.GA24700@simran-Inspiron-5558 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/tools/loopback_test.c b/drivers/staging/greybus/tools/loopback_test.c index 69c6dce9be314..867bf289df2e4 100644 --- a/drivers/staging/greybus/tools/loopback_test.c +++ b/drivers/staging/greybus/tools/loopback_test.c @@ -802,8 +802,9 @@ static void prepare_devices(struct loopback_test *t) write_sysfs_val(t->devices[i].sysfs_entry, "outstanding_operations_max", t->async_outstanding_operations); - } else + } else { write_sysfs_val(t->devices[i].sysfs_entry, "async", 0); + } } }