From patchwork Thu Jul 4 05:52:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 11031123 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 6DCF9138B for ; Thu, 4 Jul 2019 07:26:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 595E628A33 for ; Thu, 4 Jul 2019 07:26:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D31D28A3F; Thu, 4 Jul 2019 07:26: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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0761B28A33 for ; Thu, 4 Jul 2019 07:26:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 139146E2CD; Thu, 4 Jul 2019 07:25:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE3D16E25D; Thu, 4 Jul 2019 05:52:46 +0000 (UTC) Received: by mail-ed1-x543.google.com with SMTP id k8so4211092edr.11; Wed, 03 Jul 2019 22:52:46 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=8Zhm68nrjPNXV8ta4ASMn+FRqbc2t3yxMdtkIvDKOc4=; b=coYR0qXobkcbsio30za/BqzFLskiAvxNuZ4CDZw35/BKiABK0fJi0loKKrwQT6gx36 nPT75KqonNhpIIUoSf1i8HKr6f7SlG8A9nP5ax1YAy3PAwU3Y0RMKGsUldy8aOhasWs4 jinbGAQblhMZCRHUbLzZn1Jn3Rv/ttid2nSdEJzBJTBYllb4ho5ZHc0dltj8MggGwswP e1LqOOhols90J2TcoIAoBCTjkX9CRIhWQOKy/g7JG8MohP84BssMaueX3q4riuIT2FIA LyTENlm2KpUCoIlvjZ8iQi4YCjGlQ/ol3IVVyoM8ySZ6cgRTalm6FNOFvjWUKAe7i3v8 rVgw== X-Gm-Message-State: APjAAAXRZ1h0oEzWJC0KW0LjM1RJ/UPDvqGzuyEzHfMq08IFNVfZH68b R36CUal59lRJ65YucoKLbEk= X-Google-Smtp-Source: APXvYqxQFUEDOhnvVoNZ0Db9O7mkDNsW7TSFMGzjisOwln697QwuYMDcDmma0VLRiSkvPfE9Lc/vGQ== X-Received: by 2002:a17:906:74e:: with SMTP id z14mr36613416ejb.310.1562219565387; Wed, 03 Jul 2019 22:52:45 -0700 (PDT) Received: from localhost.localdomain ([2a01:4f9:2b:2b15::2]) by smtp.gmail.com with ESMTPSA id j30sm1343532edb.8.2019.07.03.22.52.44 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 03 Jul 2019 22:52:44 -0700 (PDT) From: Nathan Chancellor To: Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "David (ChunMing) Zhou" , Harry Wentland , Leo Li , Rex Zhu , Evan Quan Subject: [PATCH 1/7] drm/amdgpu/mes10.1: Fix header guard Date: Wed, 3 Jul 2019 22:52:12 -0700 Message-Id: <20190704055217.45860-2-natechancellor@gmail.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190704055217.45860-1-natechancellor@gmail.com> References: <20190704055217.45860-1-natechancellor@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 04 Jul 2019 07:25:13 +0000 X-Mailman-Original-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 :mime-version:content-transfer-encoding; bh=8Zhm68nrjPNXV8ta4ASMn+FRqbc2t3yxMdtkIvDKOc4=; b=XP0ka/sEA27+gCnCWLm1dzKrtk8lbVrGn2ZqYcTDK970tQdXsahKOmYbZZu4yHj/Ke boIp5FcbSeZb2/4yhYbjzrLoMPv0ZsNYmI3KY16LXqN28g6binjQioaU9NfEDcLcIUYp h+DV2KXYyLEQBT+E22CCvvC+vrkVyvsB+5cS3YEME2cH3cw+WcaKQk57KAzt2ulrQKhG gg0z3fN6SlI1akvG5k4ad/2Mc4S5cqRrlU6k5iAhXswD4+4uCcwHhFDyJDX4+XGXGQoD lfFCzhvYQNoSjuIp6l6ZfPl4zHGXgM+OXKtn5mmi51TiCbcpDeS7ax7+/G0iDHH9bFY6 78jQ== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, clang-built-linux@googlegroups.com, amd-gfx@lists.freedesktop.org, Nathan Chancellor Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP clang warns: In file included from drivers/gpu/drm/amd/amdgpu/nv.c:53: drivers/gpu/drm/amd/amdgpu/../amdgpu/mes_v10_1.h:24:9: warning: '__MES_V10_1_H__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __MES_V10_1_H__ ^~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../amdgpu/mes_v10_1.h:25:9: note: '__MES_v10_1_H__' is defined here; did you mean '__MES_V10_1_H__'? #define __MES_v10_1_H__ ^~~~~~~~~~~~~~~ __MES_V10_1_H__ 1 warning generated. Capitalize the V. Fixes: 886f82aa7a1d ("drm/amdgpu/mes10.1: add ip block mes10.1 (v2)") Link: https://github.com/ClangBuiltLinux/linux/issues/582 Signed-off-by: Nathan Chancellor Acked-by: Arnd Bergmann --- drivers/gpu/drm/amd/amdgpu/mes_v10_1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v10_1.h b/drivers/gpu/drm/amd/amdgpu/mes_v10_1.h index 17b9b53fa892..9afd6ddb01e9 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_v10_1.h +++ b/drivers/gpu/drm/amd/amdgpu/mes_v10_1.h @@ -22,7 +22,7 @@ */ #ifndef __MES_V10_1_H__ -#define __MES_v10_1_H__ +#define __MES_V10_1_H__ extern const struct amdgpu_ip_block_version mes_v10_1_ip_block;