From patchwork Tue Oct 30 11:23:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 10660723 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DF2911932 for ; Tue, 30 Oct 2018 11:38:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBEBA29404 for ; Tue, 30 Oct 2018 11:38:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE7642A10E; Tue, 30 Oct 2018 11:38:35 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7AB7329404 for ; Tue, 30 Oct 2018 11:38:34 +0000 (UTC) Received: from localhost ([::1]:52332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSLx-0007J4-Mt for patchwork-qemu-devel@patchwork.kernel.org; Tue, 30 Oct 2018 07:38:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8n-0001gs-IX for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8k-0002nc-Cb for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:57 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:56459) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8j-0002kz-Ue; Tue, 30 Oct 2018 07:24:54 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mgvev-1fd8Zf1xuf-00hQH9; Tue, 30 Oct 2018 12:24:22 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mgvev-1fd8Zf1xuf-00hQH9; Tue, 30 Oct 2018 12:24:22 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:35 +0100 Message-Id: <20181030112337.17973-19-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:TYAOM2UPEG2JBrG3DvbA0XzcWbCUGxCmCQZzQFwpas8OwFalWkQ IfAUy6Uz0fyXww+ircB3twrD2TNA22GqjI2kzdr02wHQdG8K/9xvk+YczYH642jaE9/ci7i z26UlhE4FjoZBH7O1DVnKIBIzB2wGxkRhnCbkgMSo3QNmc6wDOH96bMe7N2z599xz9UHIbk CEY/dc0S/JA70X+T32KOg== X-UI-Out-Filterresults: notjunk:1;V01:K0:v5/9TckJ5bo=:xqSfrIMOY/cr1Lc1v3RRE3 LUBNJ1JgPh4xHAHG2L0GU4m7W9O2RKs48lWkGAMuU1d3iW3oHf+MnGmr3opwqFCYbQ7DCQpEf 3T0FCdbN8HhQ7oICi34MrhZJ0DHBDgfzonYqAekslYT7CIIPVBkN+zYbnQPa6lrkBBvltDdbq SEmbjo+PLuwlnV3SzNYv0UsPgIWtkCtrNv2n+DnqjYogH8lAei7ZuCyHxEXjtM1wicgejiakl tmxHdaHlgEKJOlTVZQWY6YdZqg/BS+d1/qIwIOoBqf7zyCziCXCIe8gf6VCO01wqKUY5vS8XQ FdYHLlP8uGjd6CE09JzcvSaqoamGZKBgoYQqHwhP7ZCG1edjAbrfn4i1gxx9Fg3eZxWIs0L0F B0BL08W0mdwVhEZNIcgCw1KzPRUPuW0Y2Ac+G7sSGkt4/jlPZ56+XjTzalVV4LENb6u1zdfz5 WdJOR6guCtE9CBybb5L3a5nj1fL3Glp3mBH058XhrFB+q0l/pgJ4QcvJ+HcPWET2QS8aIlHiG iMXcy2hHUxZcLCFcHn+lEDeRN400UjlJ348ybgwi4esi30xharK4zAM4GXCBFBiBJMh5FUTJb cjf/4ZLCyWTMOb3OeHLF5WQ5juCQ6v6XNQQC3xuXlh/vCus9WIagv3Z6bzJMLAY+bqroiW1v0 YrtQGM7iY+GfOZXqO6nZbFRcowrEyDe7nVzGfoeqjx+pm+eSSFRZHdLh1Nin8sxg3rjlqFd6P BqKmd2bK9Wkxko78 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL v2 18/20] hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP macro X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Philippe Mathieu-Daudé Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/round.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Philippe Mathieu-Daudé Acked-by: Michael S. Tsirkin Message-Id: <20180705155811.20366-8-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- include/hw/intc/arm_gicv3_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/intc/arm_gicv3_common.h b/include/hw/intc/arm_gicv3_common.h index b798486ecf..31ec9a1ae4 100644 --- a/include/hw/intc/arm_gicv3_common.h +++ b/include/hw/intc/arm_gicv3_common.h @@ -62,7 +62,7 @@ * avoids bugs where we forget to subtract GIC_INTERNAL from an * interrupt number. */ -#define GICV3_BMP_SIZE (DIV_ROUND_UP(GICV3_MAXIRQ, 32)) +#define GICV3_BMP_SIZE DIV_ROUND_UP(GICV3_MAXIRQ, 32) #define GIC_DECLARE_BITMAP(name) \ uint32_t name[GICV3_BMP_SIZE]