From patchwork Sat Jun 5 17:50:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmed Abouzied X-Patchwork-Id: 12301719 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB77EC47082 for ; Sat, 5 Jun 2021 17:58:18 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0F3936140F for ; Sat, 5 Jun 2021 17:58:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0F3936140F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aabouzied.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:35140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpaYq-0003MF-Hd for qemu-devel@archiver.kernel.org; Sat, 05 Jun 2021 13:58:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpaR5-00013W-JL for qemu-devel@nongnu.org; Sat, 05 Jun 2021 13:50:15 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:33703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpaR2-0007Ny-RF for qemu-devel@nongnu.org; Sat, 05 Jun 2021 13:50:15 -0400 Received: by mail-wm1-x336.google.com with SMTP id s70-20020a1ca9490000b02901a589651424so2284895wme.0 for ; Sat, 05 Jun 2021 10:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aabouzied-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3UDdYIIbBSBDNTI50q7qk82QAVUtMU5aZ5Z1t+RC1Ok=; b=PFr39cAsVckQ2K6GhoWxfUuyeH661sOOtcQCndUAURyMvODbL7lKSMu4QpKNt/Yj7c 0eYywk71qErBqHTPMK6Yp0y5ov0nwuwCosU0W5g0eFSo5qYw4mUL7zSEVrO/vRJgSpAL qNgAgI7fszJN3HJfYnHUkKn5gHvtagROnQePa5KsKvLP0oFoilyVLhNNMA+aBTzF6+w+ +pLJOQxMHNYz2BUuDiJhrKFP/q2tzn6khdwbwAnrUgQKfBi/fqcjkAIQ3qGvGJhCzWTn PJ08CSj/c7pD/YJA7fKkeK5UmOrLW3FxD3iHt9uODtKJ2ZGi6muyvLBrRuYBCsnAWJm5 asvA== 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:mime-version :content-transfer-encoding; bh=3UDdYIIbBSBDNTI50q7qk82QAVUtMU5aZ5Z1t+RC1Ok=; b=noKi1WgfVLXXEbWsUthLIHWfWYKfN3uwjrlgEGj7hlMk042jONODmjgc150mvIBb4O qXLTsj6D4mk5GmqWqvyZOGVPCFrGxkc8OeYoNcfjGhtGLK58FqDHCGfNfCC7s+NuxmTu tpDriPU3iXY2N9UJsoV0rJls0gpsZGnWAKggyHPO12I65QwTBfnQ3b0sgmWoyoTfnaj5 djqs2G8v5jd6fGfaoXo7xbuq7BeliUTsNACxVN+lOgVJSuR9zsHDRTzUGuxYKvXZqHAE olj2pD22Lk6kD6hNnlu0G8fRaPyNPrMWdc44Nh+A9ilYQQXEAvSp9chOlhBjJ8E9qD4L 37vQ== X-Gm-Message-State: AOAM532GTQoGdoB5fwO9aEAyXWN3B38pIBH4yxPtwBfZRpmCbg43/Dcv DL5K0Lakwmto+ZSFx/bVLXQWQUn14PKglFln9A8= X-Google-Smtp-Source: ABdhPJxAo5TB0b8Drb6qDw/qpmMhKTfQll+I2/xy74enbyT2bbn4mhIO1f4GeGdvUEKHmOGRNK7rMQ== X-Received: by 2002:a7b:cc87:: with SMTP id p7mr9278863wma.85.1622915411109; Sat, 05 Jun 2021 10:50:11 -0700 (PDT) Received: from pythagoras.localdomain ([154.177.90.187]) by smtp.gmail.com with ESMTPSA id b22sm5727938wmj.22.2021.06.05.10.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Jun 2021 10:50:10 -0700 (PDT) From: Ahmed Abouzied To: qemu-devel@nongnu.org Subject: [PATCH 2/2] Remove leading underscores from Xen defines Date: Sat, 5 Jun 2021 19:50:01 +0200 Message-Id: <20210605175001.13836-1-email@aabouzied.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: none client-ip=2a00:1450:4864:20::336; envelope-from=email@aabouzied.com; helo=mail-wm1-x336.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, thuth@redhat.com, Ahmed Abouzied Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Identifiers with leading underscores followed by capital letters or underscores are reserved for C standards. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369 Signed-off-by: Ahmed Abouzied Reviewed-by: Thomas Huth Nacked-by: Anthony PERARD --- include/hw/xen/interface/grant_table.h | 4 ++-- include/hw/xen/interface/io/blkif.h | 4 ++-- include/hw/xen/interface/io/console.h | 4 ++-- include/hw/xen/interface/io/fbif.h | 4 ++-- include/hw/xen/interface/io/kbdif.h | 4 ++-- include/hw/xen/interface/io/netif.h | 4 ++-- include/hw/xen/interface/io/protocols.h | 4 ++-- include/hw/xen/interface/io/ring.h | 4 ++-- include/hw/xen/interface/io/usbif.h | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/include/hw/xen/interface/grant_table.h b/include/hw/xen/interface/grant_table.h index 2af0cbdde3..c0a09dadad 100644 --- a/include/hw/xen/interface/grant_table.h +++ b/include/hw/xen/interface/grant_table.h @@ -25,8 +25,8 @@ * Copyright (c) 2004, K A Fraser */ -#ifndef __XEN_PUBLIC_GRANT_TABLE_H__ -#define __XEN_PUBLIC_GRANT_TABLE_H__ +#ifndef XEN_PUBLIC_GRANT_TABLE_H +#define XEN_PUBLIC_GRANT_TABLE_H /* * Reference to a grant entry in a specified domain's grant table. diff --git a/include/hw/xen/interface/io/blkif.h b/include/hw/xen/interface/io/blkif.h index d07fa1e078..680914571f 100644 --- a/include/hw/xen/interface/io/blkif.h +++ b/include/hw/xen/interface/io/blkif.h @@ -25,8 +25,8 @@ * Copyright (c) 2012, Spectra Logic Corporation */ -#ifndef __XEN_PUBLIC_IO_BLKIF_H__ -#define __XEN_PUBLIC_IO_BLKIF_H__ +#ifndef XEN_PUBLIC_IO_BLKIF_H +#define XEN_PUBLIC_IO_BLKIF_H #include "ring.h" #include "../grant_table.h" diff --git a/include/hw/xen/interface/io/console.h b/include/hw/xen/interface/io/console.h index e2155d1cf5..0d4a72456e 100644 --- a/include/hw/xen/interface/io/console.h +++ b/include/hw/xen/interface/io/console.h @@ -24,8 +24,8 @@ * Copyright (c) 2005, Keir Fraser */ -#ifndef __XEN_PUBLIC_IO_CONSOLE_H__ -#define __XEN_PUBLIC_IO_CONSOLE_H__ +#ifndef XEN_PUBLIC_IO_CONSOLE_H +#define XEN_PUBLIC_IO_CONSOLE_H typedef uint32_t XENCONS_RING_IDX; diff --git a/include/hw/xen/interface/io/fbif.h b/include/hw/xen/interface/io/fbif.h index ea87ebec0a..4e25423490 100644 --- a/include/hw/xen/interface/io/fbif.h +++ b/include/hw/xen/interface/io/fbif.h @@ -23,8 +23,8 @@ * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster */ -#ifndef __XEN_PUBLIC_IO_FBIF_H__ -#define __XEN_PUBLIC_IO_FBIF_H__ +#ifndef XEN_PUBLIC_IO_FBIF_H +#define XEN_PUBLIC_IO_FBIF_H /* Out events (frontend -> backend) */ diff --git a/include/hw/xen/interface/io/kbdif.h b/include/hw/xen/interface/io/kbdif.h index 1d68cd458e..a952c77bf2 100644 --- a/include/hw/xen/interface/io/kbdif.h +++ b/include/hw/xen/interface/io/kbdif.h @@ -23,8 +23,8 @@ * Copyright (C) 2006 Red Hat, Inc., Markus Armbruster */ -#ifndef __XEN_PUBLIC_IO_KBDIF_H__ -#define __XEN_PUBLIC_IO_KBDIF_H__ +#ifndef XEN_PUBLIC_IO_KBDIF_H +#define XEN_PUBLIC_IO_KBDIF_H /* ***************************************************************************** diff --git a/include/hw/xen/interface/io/netif.h b/include/hw/xen/interface/io/netif.h index 48fa530950..f4a28a43b1 100644 --- a/include/hw/xen/interface/io/netif.h +++ b/include/hw/xen/interface/io/netif.h @@ -24,8 +24,8 @@ * Copyright (c) 2003-2004, Keir Fraser */ -#ifndef __XEN_PUBLIC_IO_NETIF_H__ -#define __XEN_PUBLIC_IO_NETIF_H__ +#ifndef XEN_PUBLIC_IO_NETIF_H +#define XEN_PUBLIC_IO_NETIF_H #include "ring.h" #include "../grant_table.h" diff --git a/include/hw/xen/interface/io/protocols.h b/include/hw/xen/interface/io/protocols.h index 52b4de0f81..3d1cac322b 100644 --- a/include/hw/xen/interface/io/protocols.h +++ b/include/hw/xen/interface/io/protocols.h @@ -22,8 +22,8 @@ * Copyright (c) 2008, Keir Fraser */ -#ifndef __XEN_PROTOCOLS_H__ -#define __XEN_PROTOCOLS_H__ +#ifndef XEN_PROTOCOLS_H +#define XEN_PROTOCOLS_H #define XEN_IO_PROTO_ABI_X86_32 "x86_32-abi" #define XEN_IO_PROTO_ABI_X86_64 "x86_64-abi" diff --git a/include/hw/xen/interface/io/ring.h b/include/hw/xen/interface/io/ring.h index 115705f3f4..ea324c5a62 100644 --- a/include/hw/xen/interface/io/ring.h +++ b/include/hw/xen/interface/io/ring.h @@ -24,8 +24,8 @@ * Tim Deegan and Andrew Warfield November 2004. */ -#ifndef __XEN_PUBLIC_IO_RING_H__ -#define __XEN_PUBLIC_IO_RING_H__ +#ifndef XEN_PUBLIC_IO_RING_H +#define XEN_PUBLIC_IO_RING_H /* * When #include'ing this header, you need to provide the following diff --git a/include/hw/xen/interface/io/usbif.h b/include/hw/xen/interface/io/usbif.h index c6a58639d6..564c0115e8 100644 --- a/include/hw/xen/interface/io/usbif.h +++ b/include/hw/xen/interface/io/usbif.h @@ -25,8 +25,8 @@ * DEALINGS IN THE SOFTWARE. */ -#ifndef __XEN_PUBLIC_IO_USBIF_H__ -#define __XEN_PUBLIC_IO_USBIF_H__ +#ifndef XEN_PUBLIC_IO_USBIF_H +#define XEN_PUBLIC_IO_USBIF_H #include "ring.h" #include "../grant_table.h"