Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7158370ybi; Mon, 8 Jul 2019 15:50:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwd+LPwqU9kX76OaIGk2h8smdR9kw7RD0WPRy53rDfLsSqwZx2pqa/BYL/S+j20cNGjiVqi X-Received: by 2002:a63:60cc:: with SMTP id u195mr26399588pgb.13.1562626218390; Mon, 08 Jul 2019 15:50:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562626218; cv=none; d=google.com; s=arc-20160816; b=gEx3k+49/RF71FV7qbXs51Q92gipDuh83nH1mzl4MXtizRWFzVfNh5OBLdD9RmJX/Q wuWcvnYVq0ZC89fG28J/97Mk9KnXaIo59/HjEfvP7U4xqWxzrCeJ9/+5hne25U+JrbMG +ugdMxIlAk1Ez0/Q5LehqQesauutp2Stjpl+hZCKJwlctb6zTKff1KHoCUuxoH+TBuVe NozXmN42e4HTwlIloXqdOJmPUufzm14OM73YxVODbuB9oRMDQLoZGXz3hhF1b1AAdpc8 DvyP/cNduit/B2BcJraef7vVDMtXIakqAzrmmTPee4fW1tvuLDGt7RYL4BrwSX+EWusc KUWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=pnrita1b0MkM7AyNkc/2C7SSvEndD1B5RxD62T0Ue1c=; b=uOHJcsyMRtSazXMIex2PIVAXrW+nTatK2sJuC07BB+0ATkIMqUZ5J5L3NA3TRnXlv1 MNRBe6pH0u9NhIP//88L3UUpmp8f/tWrxXXxsJqZ7HfFMWv5drsJY9XWMwaUDxVNHcP0 KAPsTg/17PsWF+DauoNFCFhcnU1l1xzJtrYdfdzAZnwjY1tYStGc2LHcmW+aYioZRbMP oVXXo5RVyvmXdT+WByhSNpUbD2CoR8RmgCtF6H/pkNz3Y4CsAwcr5e44qowoCC5++4Fg WO8bhpKbPlCkgNssrnmZwK2MpDirymSjmPZkaWgARlheCq9lKnq7DQL+8rDEn34/NdT/ 7XWg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k137si20122316pga.59.2019.07.08.15.50.04; Mon, 08 Jul 2019 15:50:18 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404987AbfGHUYe (ORCPT + 99 others); Mon, 8 Jul 2019 16:24:34 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:42885 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbfGHUYe (ORCPT ); Mon, 8 Jul 2019 16:24:34 -0400 Received: by mail-qk1-f194.google.com with SMTP id 201so12199652qkm.9 for ; Mon, 08 Jul 2019 13:24:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pnrita1b0MkM7AyNkc/2C7SSvEndD1B5RxD62T0Ue1c=; b=GRs8HCqScxd6y/khQCbsFwg8NN2n+h4vqwpj1IDtjjzAi+2CEZUH7eitWnGDiGcWuP fh6zfl04mO+bbkThkEhW7J8ekKQin2iEcpwpg+hRhuxJamsK0ig/onrwiEd0gL1d3WDn ThYZH4lAiNH4752P3D7TwC5WsgHrj4K80ZL+z6zqOaMcQ6OiBsq9Ybo0CdBr3JMA2Ozm YmQxHUjyx2O6BZbFbdHbQ3usLaIQlDx2rap4sb3YfY4METLslMiVZtJcXfU7+xVrznlm mxFl+KkSuYKd0MHiKRBiDz45hzxDbOVqgiuXP7uXurR83G8hULrPskLqv025YBl3rQHn BrWA== X-Gm-Message-State: APjAAAV9aMqYTsQTnpXBXRueJDKTBBXFvvt+4IHG0U7HLBgXjb+95QL9 qGa1Neg9a3ZXw5SXXszSm4y+ASvJAzV6HuNCNeY= X-Received: by 2002:a37:ad12:: with SMTP id f18mr15270829qkm.3.1562617472727; Mon, 08 Jul 2019 13:24:32 -0700 (PDT) MIME-Version: 1.0 References: <20190704055217.45860-1-natechancellor@gmail.com> <20190704055217.45860-2-natechancellor@gmail.com> In-Reply-To: <20190704055217.45860-2-natechancellor@gmail.com> From: Arnd Bergmann Date: Mon, 8 Jul 2019 22:24:14 +0200 Message-ID: Subject: Re: [PATCH 1/7] drm/amdgpu/mes10.1: Fix header guard To: Nathan Chancellor Cc: Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "David (ChunMing) Zhou" , Harry Wentland , Leo Li , Rex Zhu , Evan Quan , David Airlie , Daniel Vetter , amd-gfx list , dri-devel , Linux Kernel Mailing List , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 4, 2019 at 7:52 AM Nathan Chancellor wrote: > > 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 I ran into the same one now, and saw your version before sending an identical patch. Acked-by: Arnd Bergmann