From mboxrd@z Thu Jan 1 00:00:00 1970 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=-12.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 0A4FBC433E0 for ; Tue, 30 Jun 2020 21:05:45 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (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 87D312053B for ; Tue, 30 Jun 2020 21:05:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="TxFcVHrK"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="apeVYBO1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 87D312053B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1C17E83A; Tue, 30 Jun 2020 23:04:53 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1C17E83A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1593551143; bh=NHvNkYvCOo17dyL3qfjp+9tAWNTwG9+HDDBr4LnNCMg=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TxFcVHrKTEMfsrLp49wWQJVe5J/ukIump/kQOxKoC9KVCQH2KmKAzbckZTw5+OlNO 1BEwh/NT/EmEUcRLv5H4VNO4Rn3pF2/QU7u2xQEQ3/i11/fY+JUX2xDtVdocWDhNOL 23D8wT9KYFNyiz/dohJUzjqSN1a22DQM2F2BSwZ4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 99F88F80135; Tue, 30 Jun 2020 23:04:52 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B528AF801F2; Tue, 30 Jun 2020 23:04:50 +0200 (CEST) Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AFE82F80135 for ; Tue, 30 Jun 2020 23:04:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AFE82F80135 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="apeVYBO1" Received: by mail-pg1-x542.google.com with SMTP id f3so10529840pgr.2 for ; Tue, 30 Jun 2020 14:04:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xNBGyQANiqILlDq1wBEsbi38cozHmh/XihUuNGYycM0=; b=apeVYBO1IzE4K9q8w8l/ssG5Lfbnwat+ekTKnOAvohkItLv2DT6zmG6j7IO5lU/uZh M5Y0zfUVbhHZdGcXd0QzwbZpGvwH/LFDaHSwd0fJC3DLpLGfsx0RFEDDJWMtUBrQIrYe /6FXjUxRIpNjpdkQK+tL2I8sJRzV9KSaIlPV6J/uZtGRJvXfBimGWsoS5feUqI0JfDOP Fj5EWmXMpOESrikQePf0W3hFYRcj/QSy4ULxQzARLKt4gDahSVvwHBboMp+be6jPWefV on56aQwYPeI7AmM+1VqzimoQKB6KE3asb0iN1HfIy9RBKhDw5QkzwbkEAV5V6uFuyGf2 tUhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xNBGyQANiqILlDq1wBEsbi38cozHmh/XihUuNGYycM0=; b=qUC++B7j3kz+l2/0GSGq8BN1JrLqQWzfGE2ohgWmizJRlt5HH4bBqOSURJf8WBs3mU LxqIwxh/sSYHSGXxapZ+K6UdH3+7t3oNCZLAvDszylX9BKZ5gK7dT/LPJz+CD1AcuR+7 S3oOq9ao6ZuZhV8QGKJa3VPMgf1/Cpg+KojbNaw8TS3GNdCYo3MEj0waQi4rC4DKO0zY LNnaZBimSbbaHLgsxnVHc96YPjKsZchtoIqkGhc62cWdQaTahekHR7bC9qjUv2SDONGf F7AEMHrtqFir30ti47WHWt+T9cB1OROSXSO7w7V4pIP1k9h3lWP2ZVG8xjF8S1DGfUmk d4qw== X-Gm-Message-State: AOAM530Jr+HwccxF077hyDwRPfm4MApGn+NE/FNRSu+iMd224+mh7hpf C0zbLvUTGa83+7lSpBXwMYo= X-Google-Smtp-Source: ABdhPJw7UQDcd11OnB7gP5fyr6hOiKF7tfXRYP0rVvN43PiGmFgzFZN8xB7xJQUnsTns4SmS0btXSw== X-Received: by 2002:a65:5682:: with SMTP id v2mr16489451pgs.231.1593551083729; Tue, 30 Jun 2020 14:04:43 -0700 (PDT) Received: from ubuntu-s3-xlarge-x86 ([2604:1380:1000:7a00::1]) by smtp.gmail.com with ESMTPSA id 204sm3623211pfc.18.2020.06.30.14.04.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 14:04:43 -0700 (PDT) Date: Tue, 30 Jun 2020 14:04:41 -0700 From: Nathan Chancellor To: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang , Mark Brown Subject: Re: [PATCH] ASoC: Intel: KeemBay: Fix header guard Message-ID: <20200630210441.GA3710423@ubuntu-s3-xlarge-x86> References: <20200617010232.23222-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200617010232.23222-1-natechancellor@gmail.com> Cc: clang-built-linux@googlegroups.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Sia Jee Heng X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Tue, Jun 16, 2020 at 06:02:32PM -0700, Nathan Chancellor wrote: > Clang warns: > > In file included from sound/soc/intel/keembay/kmb_platform.c:14: > sound/soc/intel/keembay/kmb_platform.h:9:9: warning: 'KMB_PLATFORM_H_' > is used as a header guard here, followed by #define of a different > macro [-Wheader-guard] > #ifndef KMB_PLATFORM_H_ > ^~~~~~~~~~~~~~~ > sound/soc/intel/keembay/kmb_platform.h:10:9: note: 'KMB_PLATFORMP_H_' > is defined here; did you mean 'KMB_PLATFORM_H_'? > #define KMB_PLATFORMP_H_ > ^~~~~~~~~~~~~~~~ > KMB_PLATFORM_H_ > 1 warning generated. > > Fix the typo so that the header guard works as intended. > > Fixes: c5477e966728 ("ASoC: Intel: Add KeemBay platform driver") > Link: https://github.com/ClangBuiltLinux/linux/issues/1053 > Signed-off-by: Nathan Chancellor > --- > sound/soc/intel/keembay/kmb_platform.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/intel/keembay/kmb_platform.h b/sound/soc/intel/keembay/kmb_platform.h > index 29600652d8f4..6bf221aa8fff 100644 > --- a/sound/soc/intel/keembay/kmb_platform.h > +++ b/sound/soc/intel/keembay/kmb_platform.h > @@ -7,7 +7,7 @@ > */ > > #ifndef KMB_PLATFORM_H_ > -#define KMB_PLATFORMP_H_ > +#define KMB_PLATFORM_H_ > > #include > #include > > base-commit: 27f70ec4fa0e0f419031f1b8d61b1a788244e313 > -- > 2.27.0 > Ping? This is a rather trivial patch. Cheers, Nathan