Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3379668rwe; Mon, 29 Aug 2022 10:29:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR49K4A4BhwkXCX4d2242IHWVB31Aw8RyBZfmwZsGqrgwkOxdxgFb+H1T6MqhAjacuim4uCk X-Received: by 2002:a17:90b:2712:b0:1fa:fe17:16db with SMTP id px18-20020a17090b271200b001fafe1716dbmr19818614pjb.165.1661794177538; Mon, 29 Aug 2022 10:29:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661794177; cv=none; d=google.com; s=arc-20160816; b=eT/PXERWVTch7TFS12XoeJiTg82jq0PN+5RICMKzn5bGJdMa3J93/8j274CxT/novb wXvUSmV47QM86e1Dugsm3eoglBRhuLVavUZcYN4DbzwHGHC4D6h/zSIYAcojQ8775yJP N2LfuZYKR1M7QPKAe9q7YXZDkdSnMd7r75OxJnsFJeIyhI6oNb0+619QGSmpUVhCIz/i wjMoLMqTbghKY0MiIQdRJB30F56JXalZRJ4AlENSMK4x0Waf7w1epNAcJjTBY0zPttbM TfW3nyB9C9yMHnwvPMig+WMLWpQt07ayXv6xZJOuYSrOeButpak8MsXIEjQQ4Cp27rYf cWKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:dkim-signature; bh=uy4pLblRdQQDS3wAjiWuybD807qoihM26VKA21jhnKA=; b=dQ8qWg8pxo8PERblurOuv0ODMNju6hlIH1rCiVFCusxaxFsKU8Oi34EUgxKxFiRZE8 COvkawwMLklQa5GeBD1fsaASjitTT5AVOdaIz4VTTF03cJWCSy/B/ylWmQTEzEt5Kl4l 5/7zLYUxURBhfFjfH/iwdcZsJuB083dxJQ21AK5W2qfmVm0mvXBwklCzi/sIEa09gkDg xxcJt9nKhVkHQVS/qTWgUnjNq10BeXZj1IEYc0sXt7I0IcWpgGIr4G7mnFTLfUgQzYpm h3cChFBbCZkrGBTdhGvPvOfz8VUCVTYBTcasdRB4z3c0P0JmHgq4lOQ9YJSUCsSq/iNK Eatg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=H51WnfbY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a65670b000000b0042a39b56e98si10099204pgf.389.2022.08.29.10.29.26; Mon, 29 Aug 2022 10:29:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=H51WnfbY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229703AbiH2QP3 (ORCPT + 99 others); Mon, 29 Aug 2022 12:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiH2QP2 (ORCPT ); Mon, 29 Aug 2022 12:15:28 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2F1432BB7; Mon, 29 Aug 2022 09:15:26 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id v5so2255154plo.9; Mon, 29 Aug 2022 09:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=uy4pLblRdQQDS3wAjiWuybD807qoihM26VKA21jhnKA=; b=H51WnfbYaarSmSDLLj1PUjpfIeWe+w2tPOvhrFUCIE+V+UVeCg2GufAJXaawSpYToL ZOt0hOj0TDFOfHSqAht22+Fbiqg5MnNU7sRFi/UKM9Gxbtwbd6ZdH4WIFl9kYPN6mmsh u2tRU9Co/14A21yCrkXOSMwkJJq8xlJSX8Qv+BdAuOj1Un7+ki/2wrMsrSz2IcuTdSIR rlH7cMJPSh7J684JC20xqPe6w7PwGb2wpnrl+zspViqcrvPiXc8srE5S2iwcAIFJHdIA fTZI0ukk8ebA6PT4E85CtE8As2KF41PwwDV/fFRhvFgmmDtRrpxQh02Jnn570cDHEDDy 451g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=uy4pLblRdQQDS3wAjiWuybD807qoihM26VKA21jhnKA=; b=7kN6eDneaTqgZd5LUZJDntS0lBWgOH/xVLLKPJ/wL+2r0+i+/0F+ZyIdrEJvVED6Uf Qp22CuxQ63QSGybmpx58aB2Ac1HfZbbxdNai5b8bPkynJltbI4CNKS+bAf/zdIJV5ZD2 YWWyqof/jThmuJ7ju+aA5Yndl1vaHTkligI0V3juyHpvYzgglfJtpVARnf5gauzJ45h2 NNwgi/oNJT4TTIe4O4rtFnfT8Fo4YN1xJrWDOYuiwM1U8yJNfZ8p3Apcb9LhLTsVt9JK t/SaLezPa/pVUSSRG+jNF+5T3wU03hEpHjrsznrQ5czPz8b03XpM4tCMki853S+SAvO6 IgwA== X-Gm-Message-State: ACgBeo0csBXdfI6xPF+E1/mudR/PNqiziGLz9mG07Gi2NdOVsfXRf4Jd LeFa0ixc0S5cjWVvdVDROmw= X-Received: by 2002:a17:90b:388f:b0:1f5:7748:9667 with SMTP id mu15-20020a17090b388f00b001f577489667mr19514821pjb.158.1661789726312; Mon, 29 Aug 2022 09:15:26 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id mh3-20020a17090b4ac300b001fdb6ef8e2esm3076064pjb.10.2022.08.29.09.15.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Aug 2022 09:15:25 -0700 (PDT) Sender: Guenter Roeck Message-ID: <41c4e85d-2468-e23b-4270-0cc39c3c75d5@roeck-us.net> Date: Mon, 29 Aug 2022 09:15:24 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 1/2] watchdog/hpwdt: Include nmi.h only if CONFIG_HPWDT_NMI_DECODING Content-Language: en-US To: Jerry Hoemann , wim@linux-watchdog.org Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220820202821.1263837-1-jerry.hoemann@hpe.com> <20220820202821.1263837-2-jerry.hoemann@hpe.com> From: Guenter Roeck In-Reply-To: <20220820202821.1263837-2-jerry.hoemann@hpe.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/20/22 13:28, Jerry Hoemann wrote: > Fixes: d48b0e173715 ("x86, nmi, drivers: Fix nmi splitup build bug") > > Arm64 does not support NMI and has no . > > Include only if CONFIG_HPWDT_NMI_DECODING is defined to > avoid build failure on non-existent header file on Arm64. > > Signed-off-by: Jerry Hoemann Reviewed-by: Guenter Roeck > --- > drivers/watchdog/hpwdt.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c > index a5006a58e0db..f79f932bca14 100644 > --- a/drivers/watchdog/hpwdt.c > +++ b/drivers/watchdog/hpwdt.c > @@ -20,7 +20,9 @@ > #include > #include > #include > +#ifdef CONFIG_HPWDT_NMI_DECODING > #include > +#endif > #include > > #define HPWDT_VERSION "2.0.4"