From patchwork Wed Mar 29 07:58:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Haim D." X-Patchwork-Id: 9651011 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 365D1602BE for ; Wed, 29 Mar 2017 07:59:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2685F283B9 for ; Wed, 29 Mar 2017 07:59:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B70D2845B; Wed, 29 Mar 2017 07:59:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9BA1B283B9 for ; Wed, 29 Mar 2017 07:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=eU59RFjNnJ90md62WweHzNZuaNvpCz6pd9qQFMITsx0=; b=ISDgDU7MwbYedeN86epxdfly3H +19Dm7B0ZkISYEinQ1z0yFjzKSC/HPV8pnCD8vbYH7u8SCfwMaJhvtLcxiqfznd4ttpf6NgcOi9nv j3sINwMgO+2GAyKNihbXZbgch700S7QJck0LXJP1jmlD7sqPC/aizJl60XHUTxj14grwxSwnSZY40 6SFqD7jrvFUgmZ3YIwVhZ86c6taR//TyrwmSsz/uJaFXIk1Gv1D7HqEsJkCSJ+Sy4GYqLpYSDUncB BPio/PY0UHyir8NFQY83PF1UBwi3pkC3983nxVe2nuTrAmLmrPXm2DcSZmXwEeZ5/6XCN9IxvqozY OepVbmjw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ct8W3-0006fF-GK; Wed, 29 Mar 2017 07:59:39 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ct8Vv-0006W8-8x; Wed, 29 Mar 2017 07:59:36 +0000 Received: by mail-wr0-x241.google.com with SMTP id u18so969816wrc.0; Wed, 29 Mar 2017 00:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JgwStboFB1nIUPtvsKYW3+RhrVBrFWBz2rqkNqKn7hk=; b=AzS7G3nxXFCf9DDx6er61LF/HMwlFM4CdaBzrGw2lvAHGqfAGMw0DoFm3KV6BZ5CKR x9kQpugyPWEfF5BcfKgIQrPadz4p3P0/BVMLLv5qu3ci+AFnKCmOFgMF66qr6rjC34Ep Oy02YM5GHGvrtWTQVQCCD2yotsO6S9CpSeTfE4YCzs8TvW//bGAx8GoL4Bf+ArIZjqg6 bnzzgwYiB8unS/SiUYtTLYF5RrzQjPlB+rtttzAzACKeB9qxfGyzUyiBSbNAXd+PpAgF gRf9/tyVLe4qqNSti3NerWGL6EVCmqIMVPPyWU2fwmGHRd4cg9uhuwhcR/eGH7sBliPk cTrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=JgwStboFB1nIUPtvsKYW3+RhrVBrFWBz2rqkNqKn7hk=; b=tB9ZD+mFeegqbfbpafcrbkxGteEX2QR3BuQ9lmGvoMTTngl+7H3iqaR7kcLFeLlpKn u1CT4lik7mXT3fdsiy4X8Ogqvq3pkDs5T5ZArNsKuUoldtT76B8FhfJRy+paCIpfJV6x V+gVO4Kw1FSIsrCA5p1qY0naGsi66tNTM++V9Vs6Q5drn0PIxkKjErfvjkiEmewx1zqU 9rFnw8XoAIYgIHL6Gf9/KXKy39Y6bMU+IeyuxPs1dAZz+vN6X3L0UNMX2vWmrJ6X3Xth LzmAeJykKEo3xQKbcqXazRWALrE1J4SC5LRXqJVdCz3g8SdTZGqWMwTBXo00hf6ZvNII g/7Q== X-Gm-Message-State: AFeK/H3VrEATTcs5c+Mk9IT1IrEZ2IosP4hh/HpC3MwmI7PBKxotrp2OuKpCx7DID/Resw== X-Received: by 10.223.133.204 with SMTP id 12mr2792228wru.0.1490774349513; Wed, 29 Mar 2017 00:59:09 -0700 (PDT) Received: from localhost.localdomain ([77.126.93.120]) by smtp.gmail.com with ESMTPSA id j32sm5996336wre.7.2017.03.29.00.59.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Mar 2017 00:59:08 -0700 (PDT) From: Haim Daniel To: lee@kernel.org, eric@anholt.net, stefan.wahren@i2se.com, gregkh@linuxfoundation.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3] staging: vc04_services: add parenthesis to macros Date: Wed, 29 Mar 2017 10:58:56 +0300 Message-Id: <1490774336-7781-1-git-send-email-haimdaniel@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <20170329073849.GB17585@kroah.com> References: <20170329073849.GB17585@kroah.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170329_005931_567790_AEB72666 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Haim Daniel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP vchi_cfg.h: fix checkpatch ERROR: Macros with complex values should be enclosed in parenthesis Signed-off-by: Haim Daniel --- drivers/staging/vc04_services/interface/vchi/vchi_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h b/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h index 26bc2d3..b6f42b8 100644 --- a/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h +++ b/drivers/staging/vc04_services/interface/vchi/vchi_cfg.h @@ -173,7 +173,7 @@ * under the carpet. */ #if VCHI_RX_MSG_QUEUE_SIZE < (VCHI_MAX_MSG_SIZE/16 + 1) * VCHI_NUM_READ_SLOTS # undef VCHI_RX_MSG_QUEUE_SIZE -# define VCHI_RX_MSG_QUEUE_SIZE (VCHI_MAX_MSG_SIZE/16 + 1) * VCHI_NUM_READ_SLOTS +# define VCHI_RX_MSG_QUEUE_SIZE ((VCHI_MAX_MSG_SIZE/16 + 1) * VCHI_NUM_READ_SLOTS) #endif /* How many bulk transmits can we have pending. Once exhausted, vchi_bulk_queue_transmit