Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2907838ybb; Sun, 22 Mar 2020 10:32:09 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtlkYLNFxFnl31gExDIrtC7DxekZAkWIFCNJ0p8MBLmoxuMbOcvW8o705Jr+WAHkOKbXyxN X-Received: by 2002:a9d:7dce:: with SMTP id k14mr15025892otn.120.1584898329843; Sun, 22 Mar 2020 10:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584898329; cv=none; d=google.com; s=arc-20160816; b=I4NhRlSZ6yH4JhEcXYQuxA2E2vHz+/e60qSnP42fel5CQjkiLCGbIsUbhtYz7F305/ 9pEHHLsNqKu0WiB2cxs7rYwG3RTYDc/7+sNCmf8Skq4kywjjjO6KzNJ5PNqMlEpZuW20 4SXVWrqp6j0mtEvsOJegV12mU+IRdPi+4oVGDsWk2oqygfNYvDFpveLVvq95GdXwgG6L twM++hMiWcQ0yxmRcb1mugNOpDxyPy9LBMtnp2ChoBjKLHvC9/pu/w3PdAscAiv86N1L f/EWqvc9eAiOY7O7qoxviI4YjErpMBiZmGyk5JAN5rCpLeqL5N4UFeT3rtXbHAWvKlRH KBrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=4ZoVQ1c9ycCJ8Gj1lfk5UAo2vuQPMTOZvWhGMpvKEUE=; b=cDs6DrXlFrQq3Y5ADFhMM3h74ORqzAlQXoyCgnzvZeW8XGJDSGFFSr+kzCbd2quWBT 6FNXTE0Qqqd/d+48+bK9/ughXqYXIiZ5ziQrScWh9BU6nG7xAVzjcBLIhG+YPisK1s7N LNk4BKn91yefZwyqbGP3sNqR0+2Ecbwbr+fxuT8LNkD+spwBAdWGhBWAeC0G61E35lV2 EfgjH7VWcJF47Ywg3GC8etk5lJsyhxN6pNXbR+kmzzRrEsyWWr9hV6z1NOeHlzGn3zAN oGo3noidESZk1sUfMaCrlDsYmooEqP7u+T1cFZEz0B2vwj6zZF981usFKBC7QSvg+QrJ g2WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=e5+mDZWL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y19si5965771oie.128.2020.03.22.10.31.57; Sun, 22 Mar 2020 10:32:09 -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=@gmail.com header.s=20161025 header.b=e5+mDZWL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726781AbgCVRaw (ORCPT + 99 others); Sun, 22 Mar 2020 13:30:52 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37735 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbgCVRav (ORCPT ); Sun, 22 Mar 2020 13:30:51 -0400 Received: by mail-pf1-f193.google.com with SMTP id h72so4055990pfe.4 for ; Sun, 22 Mar 2020 10:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=4ZoVQ1c9ycCJ8Gj1lfk5UAo2vuQPMTOZvWhGMpvKEUE=; b=e5+mDZWLNRbJUuoqDXwBJW5YIqPp6MblyeiFGTFz3gUtrNwjYD7VVxg88u89qdnkNB YonZUzNE4K4spQGQQaxpmB/zxewAiyjExivnkz1SukOWdnYfY584NrKJvaeVHq2Pfwzq AQtbrNIz1px0DMNltutapcWkEHl1kNZuBO1qKZFNA1xoQQiy2R1L2T4Mih1YSf3xqsrf eB34YXdekCSGzYajt85QS/JbkjkO7qM0/Qu3irCQ8yM/ifWOqfKo3tSo9e2GrcA6MGmP P/0El1GF701OqtbedrdpRjuEVfCjiuFelVm40Q+f2opsVKz4fzR/qDmFn5eVPbgoQbwb p+/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=4ZoVQ1c9ycCJ8Gj1lfk5UAo2vuQPMTOZvWhGMpvKEUE=; b=L53HqbRXMTpQNtyY67pszI4G1JfvhXGj/F+0C7E8CH46SZXi2YKul4q+wooNAvArm4 rAOvQW1YjexldZkJy5bK/pTftfh8KDh2XuUDiKS18kcZTJy2ClMbPLvuxn5P1ohz7RVp 8LLY5HT2zZlevAxJ1o03TF07f/6fSjUzcHkdCr14ZmsOCPTLHGDs8JD7DU8hgQ93sj89 OzQPCxBmG+UqTwFtIsd6oiiX9uGaCJL2pAqHy7nylvYH8aYo1EALQqUlrtjowhcHIShS zEiS0MDoNPCQWRk4Z5Iv9F+HgLTK7xKms4zCiwTfvBiJ5dFSAQndYW7VHKw79/zn9ghS ICCQ== X-Gm-Message-State: ANhLgQ02qeqQa8Yaw0CTuOadEGPtgLfJhwrv/JGbfv5XUuxpcJvCNOop vyyxIcg9Eh+YpRaE3aXOg2B21Ec2npY= X-Received: by 2002:a62:6244:: with SMTP id w65mr20692876pfb.89.1584898250652; Sun, 22 Mar 2020 10:30:50 -0700 (PDT) Received: from simran-Inspiron-5558 ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id f64sm11732499pfb.72.2020.03.22.10.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2020 10:30:49 -0700 (PDT) Date: Sun, 22 Mar 2020 23:00:45 +0530 From: Simran Singhal To: Johan Hovold , Alex Elder , Greg Kroah-Hartman , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel Subject: [PATCH] staging: greybus: tools: Fix braces {} style Message-ID: <20200322173045.GA24700@simran-Inspiron-5558> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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); + } } } -- 2.17.1