Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp90273ybt; Tue, 30 Jun 2020 15:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyq1gZRdJHsvTnTJ6u+QlCTb89vY7Ev1thhFqJzyMDvgk/PKAMl6ZhqzU/50n0gAfuwaUL X-Received: by 2002:a17:906:2c43:: with SMTP id f3mr19891222ejh.38.1593555796362; Tue, 30 Jun 2020 15:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593555796; cv=none; d=google.com; s=arc-20160816; b=0TNCM9rtd/2/gNanU/pkB3vMUJCetUVhROObKYTq77eXAoUDvyw1iGuDEhdSmmS19x ciinXN6UESXdmHJQfm6kIlTxyAemBYCw4c10j2nVeVOPEWjDkB9ogGHSr+/o1qo/A+IZ mormaUXolXaiuch37W6eLm/m4RTZzOg0CclSVgHaEZTA+1oIfJKr+UX6z4St8/+O16JO oGHPA30szsrl+r6hyhw4jq96WZGfFN8uBJx+coRPN9cj7FDj0l3ahw1UM7e5ir7KTEyl poctXET8XmtbPxdsHnmMs7MNeyFc8ZtP1NEcJQIT5UOsxrfiCpJ4Teda5j2EvohF2Xod Zjiw== 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:dkim-signature; bh=LQqg1+PZ05kIBpTL59xr7DfetEZhJfx8+ch9+gI56hE=; b=g4W3rX3IQuNRhE9Bu5HQUozMxKzOQfPGybr1BD6pJrtP7PnM0wONj53W7+Q56L1HTA JznBigBUSwHuJwYvSLPxe8MlIDcenq6717ES/YvqWZjLK7n3ZJdJRzPot83OAf/eGnki Nyq5+vgk6EOMXMgNcMvklYxnS7WAlkqtT2ovQV+oxY11e+TH5tJek9LQyb2T/SlJ331w vzQi8NiFWCbxizAza7ZQIJa8X3Hdu5eDj1dwq610qXZIO6sfowZeO+wTtLF9+CkuKZQx dsX6U0xKdWUiE5vrkKAoqTsyqOFsShutcuEN2naiINjN3rkN0Ttz1QcwrvrKChpZPe8f xf0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d9za7jNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds17si3258681ejc.619.2020.06.30.15.22.51; Tue, 30 Jun 2020 15:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d9za7jNT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726095AbgF3WWj (ORCPT + 99 others); Tue, 30 Jun 2020 18:22:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725845AbgF3WWi (ORCPT ); Tue, 30 Jun 2020 18:22:38 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E062C061755 for ; Tue, 30 Jun 2020 15:22:38 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id g17so9054150plq.12 for ; Tue, 30 Jun 2020 15:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LQqg1+PZ05kIBpTL59xr7DfetEZhJfx8+ch9+gI56hE=; b=d9za7jNTCujMATufanAoR3E/dGN4JlmvT8hTxlO3BqAzmpkcLMzyenbVFNE04cO5Eq V3DgKPCKI5KwKtKe/Lm6L4L/ke5Q1Y/bNin6Ta4aYPvb9AaDyLgHaKCQ7/bhBAiCY10J 9Qtuq+KjVh4r1/3OeWVh3VEZtFTmImFJLF8MdDLDnxQcdIDSfkzSD2QUF1q5FRBXynKF chtp2UHDgw7EWxu56qD6JK+Wh1bOkY5o1Jz+mh76bbPcfik3Bh6qpYuwVzpDL+A70zpI 0X2X1Agp2iaiaf2DoXiqE+EKqkqHPYLKjJw2dd7rDpioCCC36NnjhlW+gvz+y3oK0sju 4qnQ== 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=LQqg1+PZ05kIBpTL59xr7DfetEZhJfx8+ch9+gI56hE=; b=Mh8avfrfxR4xXdqXcyFqjaZrXrmJri1DF5xcd6vMmoinOgT67C9gi9mPcCd+DHyoXs wpFoKJL/pKfCzOafypPtRM5HdZK/uIQ/VwHyt400IGv70Zi0OPF0tC62RPypef38DEif xC/UXDpe3zNaXvCD4rriulDVuIXjKlTu20lkFoLlUgwv4aJ+vrVmd+tmpa+9P8Ew3DBC w5PjtJM3JT7lz8coFDsYkvmWHe+IU/9YdnEcSj96AoQX3nGdVI7HdklJljax/vKmtxhJ fTs0UKEd/U1luoULj0IqO0kwXsYbYdGLoTADkjNkXTWBHBsYIDUrjbfvEBtSdTWTBEdE Gf1A== X-Gm-Message-State: AOAM530FXPOxu660CPzFxBKsxREw6bV1nD1aOccGLVv7gyOhOgLXk5NG vFkXYzqssyX4xsrGzHSgdB4ljxR1+vfA01y+EGo11A== X-Received: by 2002:a17:90a:1e:: with SMTP id 30mr23028159pja.25.1593555757877; Tue, 30 Jun 2020 15:22:37 -0700 (PDT) MIME-Version: 1.0 References: <20200617010232.23222-1-natechancellor@gmail.com> In-Reply-To: <20200617010232.23222-1-natechancellor@gmail.com> From: Nick Desaulniers Date: Tue, 30 Jun 2020 15:22:25 -0700 Message-ID: Subject: Re: [PATCH] ASoC: Intel: KeemBay: Fix header guard To: Cezary Rojewski , Pierre-Louis Bossart , Liam Girdwood , Jie Yang Cc: Sia Jee Heng , alsa-devel@alsa-project.org, LKML , clang-built-linux , Nathan Chancellor , Mark Brown 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 Tue, Jun 16, 2020 at 6:02 PM 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 Reviewed-by: Nick Desaulniers > --- > 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 > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20200617010232.23222-1-natechancellor%40gmail.com. -- Thanks, ~Nick Desaulniers