Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2952620ybb; Sun, 22 Mar 2020 11:35:55 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvIdNH2Sm8zed8DkdzaiN/J4mnnHFvs3dl8pcdhiTaAszMZs/i9Y0ExmTDv6YCyK/6jd6w7 X-Received: by 2002:aca:4a56:: with SMTP id x83mr2974831oia.166.1584902154951; Sun, 22 Mar 2020 11:35:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584902154; cv=none; d=google.com; s=arc-20160816; b=wo1U8VtR+Yq+uUzmsOSPU5OxIVT7ByTMpbhV782DJuaUgrzS9e8P3KR1BJAXz/mwPg tsXT+aAKJYXV8h3OTJIoyNgD5qMTM1JFsatKt7yhXiGxkzOEJO6DBxfQ/1qeEQ4+/y6H /VN7I2JfI8X8EVVG48aSn/Cp8HmzPoL5/hzodp2qk+hhpAaSNkfaC/V898S6XUaIqNxi IEEplFvxVL5KmWuoxSACTfKaN51rJbomjufJcAtMWM6ZUJcH3TC3lS+S/AptaEKVcNP5 4yYwY30vPv+QabK1gRkoraDbqiT15ZQt1ka1fkd1Dfajo5pQXJERcP9Mw5T9kmZbtPAg 3PaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=I96GfMTGq9tUWRXE8nK4GMh5+Rk8r1hA4SJWjtfIz8c=; b=ZuOcD5FcMmfK7h3cO90BPjMZktdt93z7FcIX7795gS39rlccbn0ZFjvVDJLtIdHygC coXJ/6LsIWZo/OFnAPnygaYTCqyiJNxsaHfi8a5vmDjbz5ZDQds9Mz27L3E7gH5n8de3 Q75ycnnV3sRKbokQUlux0u+Cj2s1YnlP+hs4LLJ97cPq2IVzBKodq9pR4wRnUb8i9UWK 2/rDpNxKL66ipV00fFiYQNHxOqGiah+bKTIpZ4FeMPU7rBC9AkE+i+Eveekn9J5u5ZDm uy864OC7lgE0fuXIRjD1pkyfDI7dCB3n8ZNzYGWd6RtoO91qiyXXAOOrA5eQcni/07eo y6rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rJvUhtoJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j184si6212005oih.216.2020.03.22.11.35.42; Sun, 22 Mar 2020 11:35:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rJvUhtoJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726583AbgCVSe4 (ORCPT + 99 others); Sun, 22 Mar 2020 14:34:56 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:34151 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgCVSez (ORCPT ); Sun, 22 Mar 2020 14:34:55 -0400 Received: by mail-io1-f67.google.com with SMTP id h131so11893540iof.1 for ; Sun, 22 Mar 2020 11:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=I96GfMTGq9tUWRXE8nK4GMh5+Rk8r1hA4SJWjtfIz8c=; b=rJvUhtoJSZoJZ59xKruwqvuxmnNykSJnrdZl61bfZeAwFcD2KOYValDzc3KdUgDuzo Fs84zAqxmx6HmXvBbsccutjeE56+jKXSZVYKNibpIxJghE5tCF6rmWXT4tps1fo4+nJh n8PDln4LMaInk0pGEk1GAEPhJ6XUdael/r3ZeLaJtimq6/Q4TxJRU/90wU+WutYNccVl 8kJVfc3jvWlWUaEfHDmmsVpaqXkml9GKOhxLpBNQ+fXBGbMbT5YpB8K1dCYrUwpB6c21 aet7+AQPCCjURaqqSSA9ANtEFxfXJb8WcurJBw15kGHaLzCfKR4gu1wZzC8D8jL1Mc9M ey6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=I96GfMTGq9tUWRXE8nK4GMh5+Rk8r1hA4SJWjtfIz8c=; b=ZaZCqHUUDKaeDGAJOCmoVSlQg2e9Sjh7OLEXHrml6pWCftINPi5OzlvkAU5OhwsZqG 5UyjVE9DcwyiK8W/fsHUhDEauxgCxM1sDLaK9pi/HEggJFJBHdIFkfW9ci9d8Maa29V+ MDYXcSBQn8Wy1qlxHYSYx3uUVmS10j8uSg+r5josyKa8Em44pCoGnGhKDFP2AHanrJwm mhlFZjIsdegxKf0t9BNFL0opMo74DGa+6lL+wIn6iBTqgtPs60DtJPwcNTFxYCtu2Wju Ly7QE1PukJq/PUjEBihn4503yBcSdUZvR6DFC0bpC3vYc3GAD8fDSNgbg3myPjJrMEL5 +bkQ== X-Gm-Message-State: ANhLgQ2OldRXJtRSEf+TfXamigk/hutu9mD8Upd2s2iDTELwkM7fTuqH odmhGRbyqRXgok+ux6A8nd0W9g== X-Received: by 2002:a02:7a07:: with SMTP id a7mr17054094jac.96.1584902093315; Sun, 22 Mar 2020 11:34:53 -0700 (PDT) Received: from [172.22.22.26] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id d15sm614598ioe.49.2020.03.22.11.34.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Mar 2020 11:34:52 -0700 (PDT) Subject: Re: [greybus-dev] [PATCH] staging: greybus: tools: Fix braces {} style To: Simran Singhal , Johan Hovold , Alex Elder , Greg Kroah-Hartman , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel References: <20200322173045.GA24700@simran-Inspiron-5558> From: Alex Elder Message-ID: <7fc65c6f-1f1d-8f60-faad-e43dda3d0cfa@linaro.org> Date: Sun, 22 Mar 2020 13:34:35 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200322173045.GA24700@simran-Inspiron-5558> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/22/20 12:30 PM, Simran Singhal wrote: > 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 Looks fine to me. And I saw no other instances of this in the Greybus code. Thanks for the patch. Reviewed-by: Alex Elder > --- > drivers/staging/greybus/tools/loopback_test.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/greybus/tools/loopback_test.c b/drivers/staging/greybus/tools/loopback_test.c > index ba6f905f26fa..d46721502897 100644 > --- a/drivers/staging/greybus/tools/loopback_test.c > +++ b/drivers/staging/greybus/tools/loopback_test.c > @@ -801,8 +801,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); > + } > } > } > >